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

Yes, codeberg, and it’s going to be decentralized soon when forgejo implements federation
You can self host forgejo as well.