git pull from another branch local branch code example Example: git pull from another branch git pull origin <branch-name>