Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I am not able to clone a particular github branch ! It shows following error when I try to do so.

           Cloning into 'ws'...
           error: The requested URL returned error: 407 while accessing https://github.com/abcd/efg.git/info/refs
           fatal: HTTP request failed

Please Help !!

share|improve this question

1 Answer 1

try setting http_proxy and https_proxy prior to running git, it should honor these environment variables:

export http{,s}_proxy=http://your.squid.server.ip:3128
git whatever
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.