Add support for Enterprise http/https origins

The current regex only matches git-ssh and not http/https origins. We use http/https for all our clones so I added that support to here.

I've also added some minitest spec tests to ensure the regex is correct and a Rakefile to execute them.

Hope this is useful!