The changes from the remote branch automatically merge into your current local branch when executing a pull as long as there are no conflicts. If you want to obtain the remote changes but not have them merged into your current local branch, you can execute the git fetch command.
Fetch will download changes from the remote that do not yet exist on your local branch. The
FETCH_HEAD ref will track the fetched changes from the remote repository.
When both the remote and local branches contain different descendants, the revision history will look like this:
Once changes are fetched, you can apply those changes to your local repository by merging in
FETCH_HEAD or executing a pull.
FETCH_HEAD has merged, the revision history will yield the same result as a git pull operation. Pull is a simultaneous execution of fetch and merge operations.