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