not real clear on what you are trying to do.
Sounds like you should change the name of the index file to something else -
links.md and then do what you want with the index file. You can only have one index file in a directory.
not sure why you can’t change the filename on GH, I don’t have a problem doing that as far as I remember.