git pull from local branch to origin main code example Example: how to pull remote branch into local branch git fetch origin <branch-name>