And the second one too: "git pull --rebase remotename master"
Note that in this case, your remote tracking branches wont be updated, so git status will say you are ahead of the remote, while you are in fact at the same point.
A "git fetch <remote>" would then update the remote tracking branches.