from pygit2 import clone_repository def clone_repo(repo_url, repo_path): repo = clone_repository(repo_url, repo_path)