Undoing things


reset and restore

In older versions of Git, git reset is used for two very common undo operations.

In newer versions of Git, git restore replaces both of these functionalities.