pub fn read_remote_ref( layout: &RepoLayout, remote: &str, branch: &str, ) -> RefResult<Option<Hash>>
Read a remote-tracking branch ref.