You may consider archiving the repository https://help.github.com/articles/archiving-a-github-repository/