def clone_git_repo(git_url): project_path = tempfile.mkdtemp() Repo.clone_from(git_url, project_path) return project_path