how to checkout a branch from remote code example Example: git get remote branch git fetch git checkout test