pub fn write_remote_ref( layout: &RepoLayout, remote: &str, branch: &str, h: &Hash, ) -> RefResult<()>
Write a remote-tracking branch ref unconditionally.