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