pub async fn remote_head( repo: &Path, remote: &str, branch: &str, ) -> Result<Option<String>>
Read a remote head without moving a tracking ref. Unreadable is an error.