Python way to clone a git repository
There is GitPython. Haven’t heard of it before and internally, it relies on having the git executables somewhere; additionally, they might have plenty of bugs. But it could be worth a try. How to clone: (It’s not nice and I don’t know if it is the supported way to do it, but it worked.)