Git clone in gitpython

In this article let’s discuss about Git clone in gitpython. Let’s go through the following methods without any delay.

Method 1:

from git import Repo
Repo.clone_from("https://github.com/official-himanshu/JavaPro.git", "/home/knoldus/clone")

Hope the above solution works.

Realted Posts : How to install jest