pub fn set_branch_upstream_ref( repo: &Repository, branch_name: &str, upstream: &str, ) -> Result<(), GitError>
Set upstream tracking for a specific local branch.