Ideally all git urls should be ending with '.git'. Git only checks for validity if the url does not end with '.git' not vice-versa.