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