git checkout remote branch force remote code example Example: git get remote branch git fetch git checkout test