GIT Commands Reset local repository to be just like the remote repository HEAD $ git fetch origin $ git reset --hard origin/master