Answer
git reset --hard <tag/branch/commit id>
Notes:
git resetwithout the--hardoption resets the commit history, but not the files. With the--hardoption the files in working tree are also reset. (credited user)If you wish to commit that state so that the remote repository also points to the rolled back commit do:
git push <reponame> -f(credited user)