
Discard bad working tree edits and bring one file back from an older commit.
Fix the last commit's message and add its forgotten file without creating a new commit.
Preview and then safely delete untracked junk while every tracked edit survives.
Rescue a repository with one precise sequence of restores, an amend, and a safe clean.