Several code-hosters like GitLab allow to have subgroups. These were previously not suppported because we weren't able to tell if something was a subgroup or a subdir.
By letting users specify the `.git` part of the http string as well, this now work for all protocol, including https.