A git clone for an https accessed GitHub repo should be:
git clone https://github.com/aUserName/aRepoName.git
And it should takes place in a session where HOME is defined if you want to cache your GitHub credentials, as mentioned in "Git - How to use .netrc
file on windows to save user and password".
For the proxy, see also "Syncing with github".