Doing a Hard Revert on Github

git reset --hard <CommitID>
git reset --soft HEAD@{1}
git commit -m "Reverting to the state of the project at <CommitID>"