Unable to Connect to GitHub.com For Cloning

Mohamed Hussain picture Mohamed Hussain · Apr 30, 2013 · Viewed 182.1k times · Source

I am trying to clone the angular-phonecat git repository, but I am getting the following message when I enter the command in my Git Bash:

$ git clone git://github.com/angular/angular-phonecat.git  
Cloning into 'angular-phonecat'...  
fatal: unable to connect to github.com:  
github.com[0: 204.232.175.90]: errno=No error

Answer

Chronial picture Chronial · Apr 30, 2013

You are probably behind a firewall. Try cloning via https – that has a higher chance of not being blocked:

git clone https://github.com/angular/angular-phonecat.git