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