If you've already pushed, first find the commit you want to be at HEAD ($GIT_COMMIT_HASH_HERE), then run the following:
git reset --hard $GIT_COMMIT_HASH_HEREgit push origin HEAD --force
Then each place the repo has been cloned, run:
git reset --hard origin/master