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