rebase_commit()
I'm going to add a helper struct to help with rewriting commits. I want to make that struct own the old commit and the new parents to simplify lifetimes. This patch prepares for that by passing the commits by value to `rebase_commit()`.
indoc!
record_rewritten_commit()