You can make GitHub repositories archival by using Zenodo or Figshare!
lterrat's bookmarks 2016-11-19
Summary:
"Briely, at Zenodo you can set up a connection between Zenodo and GitHub where Zenodo watches your repository and produces a tarball and a DOI every time you cut a release."