Recovering deleted files with `git checkout` - Undoing the last commit with `git reset` - Viewing the reflog to find lost commits