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