GitHub itself works fine for science. I see no particularly compelling reason to use an science-oriented service given that people are more likely to be familiar with GitHub.
There's code in that repository too. The code merges a variety of different data sources and performs some analyses. Nothing particularly fancy, and the code is probably not much better than average as far as academic code goes (which is not good), but I'm slowly adding tests and improving the code otherwise.
Here's an example (or shameless plug): I use GitHub to share research data: https://github.com/btrettel/pipe-jet-breakup-data
There's code in that repository too. The code merges a variety of different data sources and performs some analyses. Nothing particularly fancy, and the code is probably not much better than average as far as academic code goes (which is not good), but I'm slowly adding tests and improving the code otherwise.