pull local commit from one branch to another code example Example: git pull from another branch git pull origin <branch-name>