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