pub fn fetch_ref_updates_to_fetch_head( updates: &[FetchRefUpdate], remote: &str, ) -> Result<Vec<FetchHeadRecord>>