pub fn merge_base(repo_path: &Path, branch: &str) -> Result<String>
Compute the merge-base between HEAD and the given branch. Returns the commit SHA as a string. Used when --merge-base is passed.
--merge-base