Alt text: an ad for Github Copilot when viewing files in a github repo
Github is pretty much a social network for coders these days. If it was so easy to switch away or just not use their service, why is it that the vast majority of projects are hosted there? Git alone can’t be the reason, as you rightly say it isn’t any different from other git hosts. The relevant parts are the collaboration features and those are exactly the type of social media that enshittification applies to.