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