Git fetch Git pull
Git fetch only downloads new data from a remote repository Git pull updates the current HEAD branch with the latest changes from the remote server
Does not integrate any new data into your working files Downloads new data and integrate it with the current working files
Users can run a Git fetch at any time to update the remote-tracking branches Tries to merge remote changes with your local ones
Command - git fetch origin
git fetch –-all
Command - git pull origin master