Common git commands View local commits not in origin/master git log origin/master..HEAD Reset local repo back to remote repo head git reset --hard origin/master