pub fn remote_branch_exists( branch: &str, repo: Option<&Path>, remote: &str, ) -> bool
Check if a branch exists on a remote.