fix isGitHubUrl and isGistUrl
Revert "Use node's url parser for github parsing"

This reverts commit 87611a00df97aece996b762ef6c25212b131fabc.
Modify regex

Allow urls with git+ssh and git+http(s)