how to pull code off of main branch into another branch on github code example Example: how to pull from a particular branch in git git pull origin <branch>