What is the difference between git fetch and git pull
git fetch
git pull
git fetch creates a new branch off the master branch, while git pull creates a new branch off the local repository's master branch.
git pull downloads new data from a remote repository without integrating it into local files, while git fetch updates the current HEAD branch with the latest changes from the remote server.
git fetch updates remote tracking branches with changes from a remote repository, while git pull updates remote tracking branches with changes from a remote repository and merges them into their corresponding local branches.
git fetch downloads and merges data from the local repository, while git pull informs your colleagues you are about to make changes to the master branch.