pub async fn remote_has_branch( repo: &Path, remote: &str, branch: &str, ) -> Result<bool>
Does remote have branch? Err when that cannot be told (unreachable remote), which callers must not read as “no”.
remote
branch
Err