This article seems to have a very focused interest on data in GitHub repositories, as opposed to source code. I get that the article is aimed at scientists, but I don’t see the problem here: if Microsoft takes down your dataset just move it somewhere else. You’re not tied down with pull requests or comments like code repositories are.
The problem is the stable of the pointer. From a paper of mine: "The code and simulation results are available online at https://github.com/mylabname/ project." That's in print . In another paper, I expressly cite a GitHub repository as the source of the data used in the analysis. Pointing to data in papers is the way most of the scientists I know use GitHub - because it's relatively stable, not tied to an institutio…
It's really worth getting those things into a system that will give you a doi and participate in an archive so that content should never be lost. Figshare is one, zenodo another (I think but can't find on a phone that the data is archived).
A doi, if versioned, can ensure people see the actual version you used. It can be pointed somewhere else if the provider goes down, and should be archived to ensure its not lost.
URLs are just not stable over time.