Use "git log" to see the commits.
git reset HEAD~: resets the current HEAD to the commit just before the current HEAD commit.
git reset HEAD~1: same as above.
git reset HEAD~2: resets the current HEAD to two commits just before the current HEAD commit.