pub fn with_fetch_options(
    git_config: &Config,
    url: &str,
    config: &Config,
    cb: &mut dyn FnMut(FetchOptions<'_>) -> CargoResult<()>
) -> CargoResult<()>