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