I was having some issues with NPM a few days ago which was timing out, but was a issue with ports due to my firewall setup. So check to make sure git port is not being blocked. Also could be an issue with the way your cloning. Was having issues cloning from another git like gitlab vs github, turns out the git:// git:link was the issue try adding that to the front if using SSH cloning.