I can’t help but notice most (all I’ve seen anyway) of the federated projects are hosted on GitHub. GitLab is also not federated, but can be self hosted and has at least discussed it.
I am fully aware of my bias for GitLab over GitHub, but I still wonder why is those things? Is there a federated source hosting project?
Git is already decentralized - every contributor has a copy of the repo on their own machine.
At that point, it’s just about using what’s most popular. I have a slight preference toward gitlab myself, but the prevalence of github means I still push most of my projects to there, just because I’m already visiting the website so often.
But it is still 1 centralized server that has the code and serves it to you. Its like to say “The internet is federated as i have copied some memes onto my pc”
No, that’s not quite how git works. Everyone who’s cloned the repo has a conplete copy of the code — at least at the time they cloned/checked it out. If GitHub, Gitlab, BitBucket or whatever goes away, you can keep working without it, provided that people know how to use a remote from another machine. Git really is decentralized even if people tend to use it in a centralized fashion.
I agree with both of you (not sure why the one got so many downvotes).
Git is not centralized. GitHub, GitLab, Bitbucket, Gitea, is a centralized server.
These services are more than just git repositories. They’re issue tracking, merge/pull requests, wikis, CI/CD, etc. If the service is lost, the source is still out there but it could be quite the pain to get going again.
(Unless they shallow cloned)