I am using gitpython to clone a git repository over HTTPS. If the project is a private repo, it will prompt for username and password. How do I interact with the prompt pyth
it works for me when using github access token instead of username and password where 2FA may be required:
HTTPS_REMOTE_URL = 'https://<access_token>:x-oauth-basic@github.com/username/private-project'