> In reality there is no better option for hosting OSS code right now than GitHub.
You're right that your code isn't permanently lost, but you're wrong that GitHub is the only option or even the best option for hosting your code. GitLab and gogs are incredible pieces of software and if your needs are small, you can even just use cgit or the built-in gitweb tool. DigitalOcean is one host that can trivially provision GitLab instances.
I've hosted my own git server for about a year at https://stealthis.ca. It costs less money than GitHub's cheapest plan and supports unlimited mirrors and private repositories with any amount of collaborators. It also has never went taken my code offline, ever, for any reason. You can guess what'd happen if somebody sent me a DMCA request.