Oh, the usefulness of git reset. It works in two modes: The first mode modifies the "index" and the working-tree, moving around files similarly to git add but in the opposite direction. The second mode affects the tip of the branch, effectively undoing commits.