Is there something like GitHub, but without big tech involvement, no data collection, no ads, open source, and preferably decentralized (maybe Fediverse or even P2P)?

https://lemmy.world/post/36207257

Is there something like GitHub, but without big tech involvement, no data collection, no ads, open source, and preferably decentralized (maybe Fediverse or even P2P)? - Lemmy.World

Lemmy

No one has mentioned Gitea yet, is there a reason? Genuinely asking.
Gitea has gone open core; it is still free software but its development is controlled by a for-profit company which is developing non-free features. So, Forgejo is the community-run fork of it which people outside the Gitea company are contributing to instead now. You can read more about their divergence here.
Open-core model - Wikipedia

I wonder when people (especially companies) learn that with open source projects, it’s the community and contributors who are in charge and not the “owner”. The moment you do something the community doesn’t like, they’ll fork the project, migrate, and your project is left in the dust.

Few examples off the top of my head - CyanogenMod/LineageOS. Maps me/Organic Maps/CoMaps. OpenOffice/LibreOffice.

If your company/business/project depends on user content, don’t piss off the users.