
Interactively rebase a branch to replay its four commits in the right narrative order and fix two wrong commit messages, leaving every commit's content and the final tree untouched.
Collapse a trail of 'wip', 'typo' and 'oops' commits into three reviewable ones, letting two fixup-marked late fixes fold automatically into the different earlier commits they name, with the final tree unchanged.
Rewrite a branch so one commit that mixes a bug fix with a feature becomes two clean commits, the fix first, with everything stacked above it preserved.
Turn a working but unpresentable branch into the exact reviewable sequence - reordered, reworded, noise squashed, marked fixups folded into their targets and a bloated commit split - without changing what it builds.