I agree. GitHub is the biggest player, but it's a pretty layer on top of an inherently distributed system. If I get tired of Microsoft's shenanigans, I can pack up move to a competitor with only the normal amount of friction (like moving bug reports over, etc.). I use Gitea for my personal projects and it handles 95% of the code-hosting bits just as well.