When browsing a repo that has submodules with relative urls they do not get linked like a submodule with an absolute url does.
I have setup a demo here: https://github.com/apmorton/submoduledemo
Note that all three submodules point to the same repo, but one uses an absolute url and the others use relative urls.
The aboslute url submodule becomes a clickable link that takes you to the submodule repo, the others do not.
Using relative submodule urls is particularly useful when people on your team use different protocols for git (some git over ssh, some https), as the submodules will be cloned with whatever protocol the parent repo is cloned with.
Thanks for this feedback! We're always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I've logged your feature request in our internal feature request list.
Though I can't guarantee anything or share a timeline for this, I can tell you that it's been shared with the appropriate teams for consideration.
Please let me know if you have any other questions.
Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!
I know that I have seen this requested from the community for a long time. It's actually somewhat baffling to me that what I consider the more "difficult" case (directly links, which could be to different servers) is supported, but the "simpler" case (relative links, which of course are on the same server) are not.
This is actually very important to the usability of submodules for our GitHub Enterprise users, so I'll give all the +1 that I can to this one...