Categories
Git

Unable to connect to github.com

Example Code to run

Git config global URL from git://github.com to https://github.com

git config --global url.https://github.com/.insteadOf git://github.com/

This replaces git: to https:

Solution to Issues such as

bower install stops with error : fatal: unable to connect to github.com