I'm a few months into my experiment with doing OSS development without any use of GitHub whatsoever, and while I had to introduce a minor exception, it's mostly been quite successful. Difficult, but successful.

Tricks I've found:
- Spend money. Maybe not a hell of a lot, but more than zero. What GitHub provides is subsidized in the interest of locking you in. Going without GH means spending some cash.
- Have friends. None of this would be possible without friends lending me infrastructure.

- Be OK with less. There's a lot of features GH provides that I really don't actually use, and so it's OK to go without them.

All in all, I think that as a community, we never should have gotten to where GitHub was an SPOF for all of OSS, but it is possible to undo that. It's harder than it should be, but it's getting easier thanks to groups like Codeberg and people like @whitequark.

Like, I'm not going to lie to you and say it won't take time and some frustration to ditch GitHub. But it's definitely possible with some time and money!
@xgranade I feel like those two statements are true for defenestrating any "free" ("...as in 'you're the product'") service on the Internet.