We can easily go back to a previous commit and put the working directory back to the state it was in at the time.

Perfect! Now (almost) everything is like it was when we made that commit.

Psst: we can either use the first seven characters or the whole hash code.

Wouldn't checking out the HEAD stay on the current commit?