pub fn rebase_onto(repo_root: &Path, target: &str) -> Result<(), GitError>
Rebase current branch onto a target reference.