working with git pull remote branch code example Example: pull down remote branch git git fetch origin git checkout --track origin/<branch_name>