What are the differences between git pull and git fetch?
git pull
git fetch
In the simplest terms, git pull does a git fetch followed by a git merge.
git merge
You can do a git fetch at any time to update your remote-tracking branches under refs/remotes/<remote>/
refs/remotes/<remote>/