Reset Git do repositório
git fetch --all
git reset --hard origin/master
Pleasant Panther
git fetch --all
git reset --hard origin/master
git fetch origin
git reset --hard origin/master
Remember this forever
git fetch origin
git reset --hard origin/branch_name
git reset --hard <commit-hash>
git push -f origin master # only works for unprotected branches that allow force push