pub fn get_branch_diff(repo: &Path, base: &str) -> Result<String>
Get the unified diff between the base branch and HEAD (three-dot diff).