What do git reset

1 git reset --hard HEAD
2 git reset HEAD
3 git reset --soft HEAD~2
A edit edit and/or commit the files in a different order
B to take the last two commits and merge them into one big commit
C to cancel all changes and start with a clean slate
If I understand correctly
1 С
2 A
3 B
1 - repealed the last commit, the modified data in the index and working directory
2 - cancel the last commit and changed data in the index
3 - undo the 2 commit