checkout to existing remote branch code example Example: git get remote branch git fetch git checkout test