pub fn detect_base_branch(repo_path: &Path) -> Result<String>
Detect whether the base branch is ‘main’ or ‘master’