pub fn clone_registry( url: &str, branch: Option<&str>, target_dir: &Path, ) -> Result<()>
Shallow-clone a Git repository into target_dir.
target_dir