git pull to local repository code example Example: pull from a brrrnch in git $ git fetch origin other-branch