Concept
Rescue branch
A named reference preserving an existing commit and its reachable history. It does not save working or staged edits. Use a new name before private history edits.
Formal Syntax & Structure
git syntaxgit
git branch NAME [REV]Working Example
Example Snippetgit
git branch rescue-before-amend