My friend @gvwilson points us to this story of when SourceForge came close to disappearing: https://onlinelibrary.wiley.com/doi/10.1002/spe.2874
... and in the comments he notes corectly that while you get to keep your code if your Github access goes away, your issue history and your community are, just like that, gone.