code: def clone_with_git(repo_uri, dest_path):
      
      log.info('Cloning git repo %s to %s', repo_uri, dest_path)
      git.Repo.clone_from(repo_uri, dest_path, depth=1)
docs: Create a clone by cloning a git repository.
  
      Args:
          repo_uri: The URI of the git repository to clone.
          dest_path: The location to clone to.