Introduce git_rebase_commit

Commit the current patch of a rebase process.