fetch vs pull
What is the difference between git fetch and git pull?
git fetch
git pull
Part of Git Essentials. Next step: Detached HEAD
Choose one answer
pull downloads from every configured remote, while fetch only reads from origin.
pull
fetch
origin
fetch downloads commits and merges them only when there are no conflicts; pull always merges.
fetch downloads every branch and tag, while pull downloads only the current branch's commits.
fetch updates origin/* only; pull also merges into your branch.
origin/*