Introduce `git_rebase` to set up a rebase session that can then be continued. Immediately, only merge-type rebase is supported.