Is there anything on your local network that might be blocking access to github, specifically via the git:// protocol?
I've just checked on a very similar setup (CLI v2.1.5, Node 10.13.0, Win10 Pro) and it works fine...