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