Capgemini Interview Question

Difference between git pull and git fetch.

Interview Answer

Anonymous

Mar 10, 2022

git fetch just fetch the changes from the remote repo to local repo. git pull fetch the changes from remote repo to local repo and merges into current working branch