I am using github3.py library for my remaining code modules.
So if possible can we use github3.py lib for cloning a repo or any other python library is also good.
Normally, you should be able to clone it the same way as a normal repository.
Clone a Githubenterprise Repo using python libraries