q) Github as data archiving tool?

​Github is a well-suited platform for code sharing but it is not a data archiving tool. Therefore, a copy of the code has to be archived on a data repository. For instance, you can set up a connection between Zenodo and Github to ensure the permanent record of your code and make it citable.

Github guidelines