You can fetch from a remote repository, see the differences and then pull or merge.
This is an example for a remote repository called origin
and a branch called master
tracking the remote branch origin/master
:
git checkout master
git fetch
git diff origin/master
git rebase origin master