pub fn clone( cache_dir: Utf8PathBuf, repository: String, wanted_commit: Option<&String>, matches: &ArgMatches, target_path: Option<Utf8PathBuf>, sparse_paths: Option<Vec<&String>>, ) -> Result<(), Error>