Skip to content
Independently verified · Quarterly re-audit
EU VETTED
Category 24 of 24

Git hosting

In short

Git hosting platforms hold an organisation's source code, CI secrets, and issue history, some of its most sensitive engineering assets. For EU buyers the sovereignty question is who operates the forge and whether the code can be reached under the US CLOUD Act. The two market incumbents, GitHub (owned by Microsoft, US) and GitLab.com (GitLab Inc., US), both carry direct CLOUD Act exposure. The strongest European options on EU Vetted are Codeberg (Germany, non-profit, EU-hosted, free) and Codebahn (Swedish operator, France-hosted, paid and supported with a public DPA), both built on the open-source Forgejo engine.

About this category
About Git hosting

Feature comparison

Beyond compliance: how these alternatives compare on the capabilities you actually use day to day.

Feature Codebahn Codeberg GitLab by Stackhero Planio
Self-hostable Yes Yes Yes No
CI/CD Yes Yes Yes No
Pull/merge requests Yes Yes Yes No
Issue tracking Yes Yes Yes Yes
Package registry Yes Yes Yes No
Container registry Yes Yes Yes No
Repo import/migration Yes Yes Yes Yes
Free tier No Yes No Yes
SWITCHING GUIDES

Switching from US git hosting?

Side-by-side European alternatives (same hosting, ownership and CLOUD Act checks) for the US tools most often replaced in this category.

FAQ

Frequently asked questions

What is the best EU-hosted GitHub alternative?
Codeberg (Germany) and Codebahn (Swedish operator, France-hosted) are the two clearest picks in the EU Vetted catalogue. Both run the open-source Forgejo engine and keep all data inside the EU with no US legal entity in the path: Codeberg's CLOUD Act signal is None and Codebahn's is None. Codeberg is a free non-profit forge best suited to open-source projects; Codebahn is a paid, commercially supported service with a contractual DPA and hosted CI, better suited to businesses.
Is GitLab a European alternative to GitHub?
No. GitLab Inc. is US-incorporated (Delaware, NASDAQ: GTLB), so GitLab.com carries the same direct CLOUD Act exposure as Microsoft-owned GitHub. GitLab is a second US incumbent, not an EU alternative. Self-hosting the open-source GitLab Community Edition on EU infrastructure is a different posture, because there the operator is you, not GitLab Inc.
Does source code hosted on GitHub fall under the US CLOUD Act?
If the forge is operated by a US-incorporated company, yes: the CLOUD Act can in principle compel production of repository content, CI logs, and metadata regardless of where the servers sit. GitHub (Microsoft) and GitLab.com (GitLab Inc.) are both subject. EU-operated forges such as Codeberg (Germany) and Codebahn (Sweden) are not directly subject, and their exposure is recorded as None and None respectively.
What is Forgejo, and why does it matter here?
Forgejo is open-source (GPL-3.0) Git forge software, a hard fork of Gitea created in 2022 and governed by Codeberg e.V. in Germany. It matters because both Codeberg and Codebahn run it: the same engine that powers the hosted services can be self-hosted on your own EU infrastructure, so there is always a zero-counterparty escape hatch and no proprietary lock-in.
Should I pick a free or a paid EU git host?
Codeberg is free and donation-funded as a non-profit, which is ideal for open-source and personal projects, but it does not sign a commercial DPA or publish a formal sub-processors list. Codebahn is paid from €9 per month, with a public DPA, a named all-EU sub-processor chain, hosted CI, and support, which is the better fit when you need contractual guarantees for a business.
Can I self-host EU git hosting instead of using a SaaS?
Yes. Forgejo and Gitea (both open source) and GitLab Community Edition run on any EU infrastructure such as Hetzner, OVHcloud, Scaleway, IONOS, or STACKIT. Self-hosting removes the platform operator as a third-party processor entirely, which is the strongest posture for code that contains trade secrets or regulated data. The trade-off is that you take on operations, backups, and security patching yourself.