I\'m currently on OS X Yosemite 10.10.3, and trying to git clone an existing repo which works fine on Windows. I\'ve tried a combo of installing git through homebrew with c
If your are using a Virtul machine, then it is a connection problem. To solve this issue, you have to go to VM settings to Bridge the physical connection.
VMware Player-->Removable Devices-->Network Adapter-->settings
You will find Network connection and check both
Bridged: Connected directly to the physical network
Replicate physical network connection state(if you are using a laptop).
Check following link for detail:
https://pubs.vmware.com/workstation-9/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-826323AD-D014-475D-8909-DFA73B5A3A57.html