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

On server:

git init --bare ~/projects/project.git

On client:

git username@server:projects/project.git