In mercurial when I run
I believe the command you are seeking is
git fetch. From the documentation:
Fetch branches and/or tags (collectively, "refs") from one or more other repositories, along with the objects necessary to complete their histories. Remote-tracking branches are updated.
Git fetch loads all the changes from the remote without updating your actual local branches. In the blurb above, "remote-tracking" branches are local branches (yes, it's confusing) which track the state in the remote repository, but they are not your local branches.
Assuming you are on branch
git fetch origin # updates origin/master git merge origin/master # updates your local master
git pull origin master is equivalent to doing
git fetch followed by