pull a branch from a repository code example Example: how to pull from a branch in git git pull origin other-branch