Add support for git+https and git+ssh

Thanks @stefanbuck!