import os from getpass import getpass user = getpass('GitHub user') password = getpass('GitHub password') os.environ['GITHUB_AUTH'] = user + ':' + password !git clone https://$GITHUB_AUTH@github.com/ziatdinovmax/Gnet-test.git