There is GitLab, which is good and is FOSS in addition.
As people can use GitLab Pages on GitLab.com for free, we felt the ability to host your own static pages was more interesting for larger teams, hence our decision to bring it to GitLab Enterprise Edition.
When a new user signs up, ask them for their existing Github username and to upload an SSH key that matches.
It's a huge tax on attention and contributions if a project decides not to use GitHub. There are many GitHub replacements but none of them have the community of GitHub.
Could the same thing happen to GitHub?
That, and github has centralized development to a degree that sourceforge or gcode in 2008 could only dream of. It not only obsoleted other hosting solutions but also brought millions of developers into these kinds of development ecosystems whom used to just use forums or their own personal websites to host their projects.
Most of these features are ones that only affect public projects. You're not customers of Github, you're the product. Or rather, the advertising.
Network effects strong enough to slow the growth of any competitor long enough for GitHub to adapt.
Management, money, growth.