enable git URI pattern

I want to install modules from git repositories (git protocol or ssh).

This pull-req accepts "^git://..." and ".git$" patterns, and simply call "git clone" and try to install from local files.