git checkout branch with remote tracking code example Example: git get remote branch git fetch git checkout test