
Give each feature its own branch from a shared base and keep their commits apart.
Rename, safely delete, and force delete branches according to what each one deserves.
Commit valuable work on a detached HEAD and rescue it onto a real branch.
Reorganize a repository's branches to an exact target topology, rescuing detached work first.