git pull remote/origin branch code example Example: pull remote branches git fetch origin git checkout --track origin/<remote_branch_name>