I'd recommend the free (as in freedom) Git alternative to everyone: Codeberg. Super lightweight, without that vicious circle of knowing your code is being used to train AI. Free for hobby projects, and reasonably viable for professional ones.
No, not free as in freedom. LLM-assisted coding is prohibited and everything MUST be open-source. So not viable for all (hobby) projects.
git --bare init
and some discipline can go a long way.
Hosted services can't really be "free as in freedom". We can't know for sure what software they're actually running and users don't have any freedom in using their service since that is entirely at their pleasure. For something to be free the thing has to be able to move beyond its present controller.
People who migrate away from Github, what makes you think they're more reliable? All Git services are prone to massive surges in commit volume due to AI agents. At least if Github goes down, your boss is not going to blame you.
I'd rather stay in Github and maybe use another service purely as backup.
Why you think that code from Codeberg is not used to train LLMs?
(You are not required to agree for such use in tos, but it will be used anyway)
(Not by Codeberg operators, to be clear)
You're now my friend just because you said "free as in freedom"
I love and use Forgejo which they are both running and now developing within their ecosystem but development is so slow and such basic things are missing that one cannot help but think perhaps they should get some LLM assistance. At this rate they are very likely to end up a historical footnote.
TOS are not protection against scraping. Is there any reason to not assume by default that Codeberg gets used for training just like every other online collection of content?