Yes
But GitHub, in its heyday, was a centre. Created a sense of "community"
It has taken a while, but since MS bought it it has been shirking that. I expected honest enshittification, but instead it has been technical collapse
What ever.
IMO we need a federation protocol for Git that can rebuild some sort of "community", but on solid foundations.
So we can find one another on our self hosted instances