git pull from another branch to local branch code example Example: git pull on another branch git fetch origin master:master