It was four years ago that GitHub had major enough outages with their database that they had to issue a press release (https://github.blog/news-insights/company-news/an-update-on-...). Five months ago I was actually still recommending GitHub. Then a month ago I left the platform, because I couldn't get shit done anymore.
The alternatives aren't great. If any VCs wanna send a couple hundred grand my way, I'd be willing to start a GitHub alternative, if only so I could have a not-crappy place to host my own repos.
https://disroot.org/ provides Git hosting (and email, cloud storage, and more). Their annual revenue is about $35k. There's no money in this.
We did raise $4.5M recently to build exactly this: https://tangled.org