Kinds of reset operation
Move the head to the given commit
SOFT plus reset index to the commit
MIXED plus changes in working tree discarded
See Implementation
Kinds of reset operation