Codeberg vs GitHub
Codeberg is a European alternative to GitHub: same developer tools use case, headquartered in Germany and operating under GDPR by default, while GitHub (Microsoft) is based in the United States.
By the EU Alternatives team Last updated
Community-driven Git hosting platform for free and open source projects. Non-profit organization based in Berlin offering secure, privacy-focused development tools.
- Jurisdiction
- EU / EEA
- GDPR by default
- Yes
- US CLOUD Act exposure
- No
- Open source
- Yes
- Free tier
- Yes
GitHub hosts most of the world's open source code and a great deal of private code too, wrapping git in pull requests, issues and CI. Free accounts include unlimited repositories, with paid tiers for teams and enterprises. Microsoft, headquartered in Redmond, Washington, has owned GitHub since 2018.
- Jurisdiction
- US
- GDPR by default
- Requires DPA + TIA
- US CLOUD Act exposure
- Yes
Codeberg vs GitHub at a glance
| Codeberg | GitHub | |
|---|---|---|
| Headquarters | Germany | US |
| Data jurisdiction | EU / EEA | US law applies |
| GDPR by default | Yes | Requires DPA + transfer assessment |
| US CLOUD Act exposure | No | Yes |
| Open source | Yes | — |
| Free tier | Yes | — |
| Best for | Teams that need developer tools with EU data residency | Teams already invested in the Microsoft ecosystem |
Choose Codeberg if…
- You want your data to stay under EU law without extra legal paperwork
- GDPR compliance or public-sector requirements apply to you
- You want to start free and scale up later
- Open-source code and self-hosting matter to you
- You'd rather back the European tech ecosystem
Stick with GitHub if…
- You depend on integrations only available in the Microsoft ecosystem
- Your organisation has no EU data-residency constraints
- Migration costs outweigh the jurisdiction benefits for now
About Codeberg
Codeberg is a non-profit Git hosting platform run by Codeberg e.V., a registered German association providing free, community-owned hosting for free and open-source software. Launched in 2019 and based in Berlin, it runs on the Forgejo engine (a Gitea community fork) and is funded entirely by members and donations.
The platform offers public and private repositories, issue tracking, pull requests, a built-in CI service (Codeberg CI, based on Woodpecker), package registries, static site hosting through Codeberg Pages and federated identity through its own account system. No commercial tier exists. All features are free for FOSS projects that align with the charter.
Key benefits:
- Unlimited free repositories for free and open-source projects aligned with the charter
- Forgejo-powered Git hosting with issues, pull requests, wiki and project boards
- Codeberg CI based on Woodpecker, running free for member and FOSS repositories
- Codeberg Pages for static-site hosting from any repository branch
- Package registry for npm, Maven, PyPI, Composer, NuGet, Helm and container images
- Federated activity streams and ongoing ForgeFed / ActivityPub integration work
- Non-profit governance with member voting, public finances and transparent moderation
Codeberg is operated by Codeberg e.V., headquartered in Berlin, Germany, and hosts all repositories on servers in the European Union under GDPR and German association law. The non-profit is financed by membership fees and donations, with no advertising, tracking or AI training on user code.
Trusted by thousands of maintainers, including F-Droid, LibreOffice contributors and Framasoft projects, Codeberg is the reference choice for developers who want non-commercial, EU-sovereign Git hosting.
Why choose Codeberg over GitHub?
The decisive argument is data jurisdiction. GitHub is headquartered in US, which means personal data processed through it can be subject to non-EU legal regimes: the US CLOUD Act, FISA 702, or similar laws depending on the provider. After the 2020 Schrems II ruling, EU organisations must carry out a transfer impact assessment for every such data flow.
Codeberg removes that overhead. As a Germany-based provider, it operates natively under GDPR, and data stays inside the EU/EEA by default. For regulated sectors such as health, public administration, and finance, that's not a nice-to-have but a requirement. For everyone else, it's concentration-risk insurance: you avoid depending on a single non-EU jurisdiction that can change the rules without warning.