I have a problem while connecting to github from my PC, using git. System Win 7.
I have connection through proxy, so i specified it in git config files (both in general git folder, and in git repo folder). To do this i entered next line to my git bush:
$ git config --global http.proxy http://<username>:<userpsw>@<proxy>:<port>
The way it works on other programms (ex: maven) it looks like that:
<username> - my login to our corp system
<userpsw> -my password to corporat system
<proxy> - 10.65.64.77
<port> - 3128
But when i try to push or to clone my repo, i receive
fatal: unable to access '<repo githup link>' Received HTTP code 407 from proxy after CONNECT
I try already to enter not just my username but domain\username, changed my password in case there are problems with code language tables. And i even entered wrong password. Error stayed the same.
When i entered in '10.65.64.177.com' and tried to push repo, i received:
fatal: unable to access '<repo github link>': Failed connect to github.com:3128; No error
Just don't know what to try.
What worked for me is something similar to what rohitmohta is proposing ; in regular DOS command prompt (not on git bash) :
first
git config --global http.proxy http://username:password@proxiURL:proxiPort
and in some cases also
git config --global https.proxy http://username:password@proxiURL:proxiPort
then
git config --global http.sslVerify false
(I confirm it's necessary : if set to true getting "SSL certificate problem: unable to get local issuer certificate" error)
in my case, no need of defining all_proxy variable
and finally
git clone https://github.com/someUser/someRepo.git