---
title: "GitHub alternatives from Europe: which ones take a company's private code"
description: "Codeberg, SourceHut, CodeFloe, Framagit and Forgejo side by side: who owns them, which take private code, what ten people pay, and what stays behind."
canonical: https://eualts.com/github-alternatives-from-europe
published: 2026-11-23
checked: 2026-11-23
language: en
---

# GitHub alternatives from Europe: which ones take a company's private code

Codeberg, SourceHut, CodeFloe, Framagit and Forgejo side by side: who owns them, which take private code, what ten people pay, and what stays behind.

On 18 November, codeberg.org stopped working for about three and a half hours. Codeberg is a German non-profit that hosts open-source code, and the place the Zig programming language moved to when it left GitHub. Its servers in Berlin kept running. The problem was NameSilo, the American company Codeberg registers its domain through. NameSilo had suspended the address after an abuse report, and Codeberg says it did so [without informing Codeberg](https://codeberg.org/Codeberg/changelog/issues/7#issuecomment-28100157).

For a team, though, the first question is whether a host will take its code at all. Codeberg hosts only free and open-source projects, so a company's private code doesn't belong there. Since this summer, Codeberg also bans projects mostly written with AI tools, and SourceHut bans any content written with them.

GitHub's free plan already lets ten people share private repositories, the code only your team can see, and its Team plan costs $480 a year for ten people. Here is what the European options offer:

- **Codeberg** charges nothing, but hosts only free and open-source projects.
- **SourceHut**, from the Netherlands, takes private code. Paying is optional for hosting code while it is in a test phase, but required for its automatic builds and tests: €4, €8 or €12 a month before VAT, an amount you choose. Code review works mostly by emailing patches.
- **CodeFloe**, run by a small Swiss company, takes private code for free, with automatic builds and tests included. It is paid for by donations and makes no promise to stay online.
- **Framagit**, from a French association, takes private code for free, up to 42 projects per person, and says it isn't obliged to fix things when they break.
- **Forgejo**, the software behind Codeberg and CodeFloe, is free to run yourself, for example on a Hetzner server from €5.49 a month before VAT, plus your time.

Below, as in [Is it really European?](https://eualts.com/is-it-really-european), we say who owns each one, where it is based and where it keeps your code. Then come what ten people pay, what each one allows, and what doesn't move with you. GitHub is in the last column for reference.

## At a glance

| | Codeberg | SourceHut | CodeFloe | Framagit | Forgejo on your own server | GitHub |
|---|---|---|---|---|---|---|
| Owned | Germany | Netherlands, by its own account | Switzerland (Europe, not EU) | France | Germany (under Codeberg e.V.) | United States |
| Headquartered | Germany | Netherlands | Switzerland (Europe, not EU) | France | Germany | United States |
| Hosted | Germany, its own servers | Mixed: its own servers in the Netherlands, encrypted backups in the US | Germany and France, at Hetzner and Scaleway | Germany, at Hetzner | Wherever you put it | United States by default |
| Takes a company's private code | No | Yes | Yes | Yes, up to 42 projects per person | Yes | Yes |
| Software | Forgejo | Its own | Forgejo | GitLab | Forgejo | Its own |

## What ten people pay per year

| | Per year | Automatic builds and tests (CI) | Limits worth knowing |
|---|---|---|---|
| **GitHub Free** | $0 | 2,000 minutes a month | Required reviewers and code owners only on public repositories |
| **GitHub Team** | $480 | 3,000 minutes a month | |
| **GitHub Enterprise** | $2,520 | 50,000 minutes a month | The plan needed to keep code in the EU |
| **GitLab.com Premium** | $3,480 | 10,000 minutes a month | The free plan stops at 5 users |
| **Codeberg** | Free | Small shared machines, for public free-software projects only | Free and open-source projects only |
| **SourceHut** | Free for now; €48 to €144 per account for CI, before VAT | For paying accounts | No team accounts yet |
| **CodeFloe** | Free | 2,500 minutes a month | 5 GB of Git storage per account; no support contract |
| **Framagit** | Free | GitLab CI; we couldn't confirm free machines to run it | 42 projects per person; no promise to repair |
| **Forgejo on a Hetzner server** | From €65.88 before VAT | On machines you provide | Someone has to run it |

Prices as published on 23 November 2026: [GitHub](https://github.com/pricing), [GitLab](https://about.gitlab.com/pricing/), [SourceHut](https://sourcehut.org/pricing/), [CodeFloe](https://codefloe.com/pricing), [Hetzner](https://www.hetzner.com/cloud/). GitHub and GitLab show prices only in dollars, even to visitors in Europe. CI minutes are how long the automatic builds and tests may run each month.

SourceHut is still in what it calls a public alpha. It asks everyone who hosts projects to pay "according to your means", and says "there is no difference between the subscriptions besides price". For now, paying is optional for hosting code and required for CI, and people who only contribute to someone else's project never pay. SourceHut [said in February](https://sourcehut.org/blog/2026-02-18-whats-cooking-q1-2026/) that it was still building accounts for organisations, so a team's repositories belong to one person's account for now.

Codeberg charges nothing. Anyone can join the association that runs it, from €24 a year.

## What each one lets you host

**Codeberg** is for free software. Its [terms of use](https://codeberg.org/Codeberg/org/src/branch/main/TermsOfUse.md) allow private repositories "only for things required for FLOSS projects, like storing secrets, team-internal discussions or hiding projects from the public until they're ready", or for small personal things like notes. Its [FAQ](https://docs.codeberg.org/getting-started/faq/) says "Codeberg does not offer private hosting services" and points companies to running Forgejo themselves. This summer, Codeberg's members [voted 358 to 144](https://blog.codeberg.org/protecting-our-floss-commons-from-llms.html) to ban projects that "mostly consist of code written by 'generative AI'-tools". The terms give two reasons: such projects have an "unclear copyright status", and "little safeguards to ensure that they do not include harmful code". The terms also list cryptocurrency projects as content that harms Codeberg's reputation.

**SourceHut** takes private repositories, but its [terms](https://man.sr.ht/terms.md) ban "content related to cryptocurrency or blockchain technologies" and "original content written with or which facilitates the use of LLMs", the large language models behind AI tools. The second rule has [applied to new projects since 10 September](https://sourcehut.org/blog/2026-08-27-tos-changes-and-llms/). It goes further than Codeberg's in two ways: it isn't limited to projects mostly written with AI, and a tool that helps people use language models is banned however it was written.

**CodeFloe**'s [terms](https://codefloe.com/codefloe/legal/src/branch/main/TermsOfService.md) have no rule about licences or AI tools. Content that is illegal in Switzerland is taken offline.

**Framagit** is [open to everyone](https://docs.framasoft.org/fr/gitlab/), with public or private projects. Framasoft's [terms](https://framasoft.org/fr/cgu/) include a clause it calls "if it breaks, we don't have to repair it": if you lose data, through your fault or Framasoft's, "sorry, but it happens" (our translation).

**GitHub**'s [acceptable use policies](https://docs.github.com/en/site-policy/acceptable-use-policies/github-acceptable-use-policies) have no rule against AI-written or cryptocurrency projects. Since 24 April 2026, GitHub [trains its AI models](https://github.blog/news-insights/company-news/updates-to-github-copilot-interaction-data-usage-policy/) on what people type into Copilot Free, Pro and Pro+ and what Copilot sends back, unless they opt out. That includes code Copilot reads from a private repository while someone uses it, but not code that just sits there. Copilot Business and Enterprise are not affected.

Not everyone who moved to Codeberg likes the new rules. On 23 July, the day Codeberg announced them, one developer published ["I regret migrating to Codeberg"](https://xn--gckvb8fzb.com/i-regret-migrating-to-codeberg/). The post isn't about outages or missing features. It objects to a free-software host choosing which projects are welcome, and to users not being warned first, and its author plans to run a server of their own instead. It drew more than 500 comments on Hacker News.

## Why projects leave GitHub, and what they find

Zig and Ghostty, two of the best-known projects to turn away from GitHub, did so because of GitHub itself, not because it is American. When Zig [moved to Codeberg](https://ziglang.org/news/migrating-from-github-to-codeberg/) in November 2025, its lead developer wrote that GitHub Actions, GitHub's system for automatic builds and tests, "has inexcusable bugs while being completely neglected". The post also objected to Copilot features that clash with Zig's rules against AI-written code. In April 2026, the maintainer of the Ghostty terminal app [announced that Ghostty would leave GitHub](https://mitchellh.com/writing/ghostty-leaving-github) because of outages: "This is no longer a place for serious work". The announcement named no new host, and on 23 November Ghostty was still being developed on GitHub.

On 17 August, [github.com was down for 7 hours and 47 minutes](https://github.blog/news-insights/company-news/the-august-17-outage-and-the-work-ahead/), taking pull requests, Actions and sign-in with it. In February, the machines that run Actions for GitHub's customers [stopped for almost six hours](https://github.blog/news-insights/company-news/github-availability-report-february-2026/) in every region.

None of the European hosts promises to stay online either. Codeberg sets aside Tuesday evenings from 20:00 Berlin time [for maintenance](https://status.codeberg.eu/status/codeberg), when the site may be briefly unreachable, and its terms say it makes "no guarantees about the availability" of what it hosts. CodeFloe [offers no uptime guarantee](https://codefloe.com/pricing). SourceHut spent part of the spring ["mitigating rolling DDoS attacks"](https://sourcehut.org/blog/2026-05-28-whats-cooking-q2-2026/), which flood a site with traffic until it stops answering.

## Who controls each domain name

Codeberg's outage came from the company that registers its name, not from its servers. So we looked up which company registers each host's domain, and which runs its DNS, the system that turns the name into a server address.

| | Domain registered through | DNS run by |
|---|---|---|
| **Codeberg** (codeberg.org) | [NameSilo](https://lookup.icann.org/en/lookup?name=codeberg.org), United States | deSEC, a Berlin non-profit |
| **SourceHut** (sr.ht) | [1API](https://lookup.icann.org/en/lookup?name=sr.ht), Germany | SourceHut itself |
| **CodeFloe** (codefloe.com) | [Hetzner](https://lookup.icann.org/en/lookup?name=codefloe.com), Germany | Bunny, Slovenia |
| **Framagit** (framagit.org) | [OVH](https://lookup.icann.org/en/lookup?name=framagit.org), France | OVH, France |
| **GitHub** (github.com) | [MarkMonitor](https://lookup.icann.org/en/lookup?name=github.com), United States | NS1 (owned by IBM) and Amazon, United States |
| **GitLab.com** (gitlab.com) | [Gandi](https://lookup.icann.org/en/lookup?name=gitlab.com), France | Cloudflare, United States |

Checked on 23 November 2026. Codeberg moved its DNS from NameSilo to deSEC in July, and since the suspension it has had [offers from other registrars](https://codeberg.org/Codeberg/changelog/issues/7#issuecomment-28100157) that it "will evaluate". It also owns codeberg.eu, but decided not to switch to it as a quick fallback.

Above every registrar sits the registry for the part after the dot. [.org](https://www.iana.org/domains/root/db/org.html) and [.com](https://www.iana.org/domains/root/db/com.html) are run from the United States, [.ht](https://www.iana.org/domains/root/db/ht.html), which SourceHut uses, from Haiti, and [.eu](https://www.iana.org/domains/root/db/eu.html) from Belgium.

## Owned: who controls them

**Codeberg: Germany.** Codeberg e.V. is a registered association in Berlin ([imprint](https://codeberg.org/Codeberg/org/src/branch/main/Imprint.md)), and its general assembly of active members has the last word. It had [1,691 paying members](https://blog.codeberg.org/codebergs-budget-of-2026.html) in May 2026 and writes that "There is no 'owner' who can take the profits".

**SourceHut: Netherlands, by its own account.** SourceHut is registered in the Netherlands, with an address in Hoorn ([pricing page](https://sourcehut.org/pricing/)), and is run by its founder, Drew DeVault. It says it has ["never accepted private investors"](https://sourcehut.org/blog/2025-07-10-pay-in-euro/) and has been moving its business from the United States to the Netherlands. The Dutch register doesn't show owners publicly, so we can't confirm who holds the shares.

**CodeFloe: Switzerland (Europe, not EU).** It is [owned and operated](https://codefloe.com/codefloe/legal/src/branch/main/TermsOfService.md) by devXY GmbH in Baar, near Zug. The Swiss commercial register names one partner, holding all the shares: its founder and chief executive, Patrick Schratz, a German citizen living in Zürich ([Zefix](https://www.zefix.admin.ch/en/search/entity/list/firm/1643890)).

**Framagit: France.** It is run by [Framasoft](https://framasoft.org/fr/legals/), a non-profit association based in Lyon.

**Forgejo: Germany.** Forgejo [split from Gitea](https://forgejo.org/2022-12-15-hello-forgejo/) in December 2022, after control of Gitea passed to a newly formed company, Gitea Ltd. Its [FAQ](https://forgejo.org/faq/) says its governance is "collectively defined by its contributors", that its domains are "in the custody of the non-profit Codeberg e.V.", and that it has to abide by Codeberg's goals. It is licensed under the GPL.

**GitHub: United States.** It belongs to Microsoft, which has no controlling shareholder. Vanguard Capital Management, one of Vanguard's investment arms, reported holding 7.48% of Microsoft's shares in March 2026 ([filing](https://www.sec.gov/Archives/edgar/data/789019/000210011926000820/xslSCHEDULE_13G_X02/primary_doc.xml)).

## Where your code sits

**Codeberg** runs most services on [three servers it owns](https://codeberg.org/Codeberg-e.V./Documents-Public/src/branch/main/2026/01-01-Financial-Plan-Supplementary-Document.md), in a rack at IN-Berlin, a Berlin non-profit network provider. Its [FAQ](https://docs.codeberg.org/getting-started/faq/) says backups, redundancy and protection against attacks are partly handled by the German hosts netcup and Hetzner, and its privacy policy says all its servers are in Germany.

**SourceHut** stores and processes data on [its own servers in the Netherlands](https://man.sr.ht/privacy.md). It also keeps some personal data, encrypted before it leaves, in the United States as off-site backups.

**CodeFloe** [lists its providers](https://codefloe.com/codefloe/legal/src/branch/main/Subprocessors.md): Hetzner in Germany for the servers, Scaleway in Paris for files, packages and mail, Scaleway in Amsterdam for backups, and Bunny in Slovenia for content delivery and DNS. Visitors from Asia, Oceania and the Americas reach the site through Hetzner servers in Singapore and Ashburn, USA, which store no repositories. All of those companies are European.

**Framagit** runs on a server rented from [Hetzner in Germany](https://framasoft.org/fr/legals/).

**GitHub** says that ["by default, GitHub stores data for GitHub.com in the USA"](https://docs.github.com/en/enterprise-cloud@latest/admin/data-residency/about-github-enterprise-cloud-with-data-residency). Its Enterprise plan can keep code in an EU region on Microsoft's Azure cloud, which also covers Norway and Switzerland. Even then, Copilot data, billing data, support data and some telemetry are [stored outside the region](https://docs.github.com/en/enterprise-cloud@latest/admin/data-residency/about-storage-of-your-data-with-data-residency) by default, and GitHub "does not notify you when transfers occur".

## Moving out

- **Issues and pull requests.** Forgejo, and so Codeberg and CodeFloe, can [import a GitHub repository](https://docs.codeberg.org/advanced/migrating-repos/) with its issues, pull requests (proposed changes), labels, milestones, releases and wiki. It needs a GitHub access token. GitLab's [importer](https://docs.gitlab.com/user/project/import/github/) brings over much the same, but not outside collaborators, or GitHub's rule that tests must pass before a change is merged. SourceHut's [tracker](https://man.sr.ht/todo.sr.ht/) has no importer for GitHub issues.
- **Workflows,** the files that tell GitHub Actions what to run. Forgejo Actions is "designed to be familiar to users of GitHub Actions, but it is not designed to be compatible", in [its own words](https://forgejo.org/docs/latest/user/actions/github-actions/). It reads workflows from `.github/workflows` if there is no `.forgejo/workflows`, and most need small changes, for example because its default machine runs Debian rather than Ubuntu. GitLab and SourceHut use their own formats, so workflows there have to be rewritten.
- **What stays behind.** Stars, GitHub Sponsors, Codespaces and Copilot don't move. When Zig left, it asked donors to [move their monthly donations](https://ziglang.org/news/migrating-from-github-to-codeberg/) from GitHub Sponsors to Every.org. A GitHub Pages site on your own domain needs a DNS change.

## Also European, but not in the table

- **Tangled** is a Finnish company, [Tangled Labs Oy](https://tangled.org/company) in Helsinki, building a Git host on the AT Protocol, the network behind Bluesky. It [can't keep repositories private yet](https://tangled.org/tangled.org/core/issues/60), and its [privacy policy](https://tangled.org/privacy) lists Cloudflare, an American company, for hosting the web app. Its [investors](https://tangled.org/blog/seed/) include byFounders from Copenhagen, Bain Capital Crypto from the United States, and GitHub's former chief executive Thomas Dohmke.
- **Radicle** is a peer-to-peer way to share Git repositories, with no central server. The always-on nodes it sells are [run by a Swiss non-profit foundation](https://radicle.dev/2026/06/02/announcing-radicle-garden.html). Its [FAQ](https://radicle.dev/faq) says private repositories shouldn't be used until a security flaw in its protocol is fixed.
- **Heptapod Cloud** is a version of GitLab that also handles Mercurial repositories, [from €7 per active user a month](https://heptapod.net/pricing/), run by the French cloud company Clever Cloud. We haven't checked who owns Clever Cloud.
- **GitLab run for you** is sold by European hosting companies, for example [creoline](https://www.creoline.com/en/products/gitlab) in Germany from €119.99 a month before VAT. We haven't checked who owns them.

Gitea and Bitbucket come up in the same lists, but neither is controlled in Europe. Gitea's company, CommitGo, has [terms under California law](https://about.gitea.com/terms-of-service). Bitbucket belongs to Atlassian, which [moved its legal home](https://investors.atlassian.com/news/news-details/2022/Atlassian-Announces-Completion-of-its-Redomiciliation-to-the-United-States/default.aspx) from the UK to the United States in 2022.

GitLab is harder to place. GitLab Inc. is registered in Delaware and [says it has no headquarters](https://www.sec.gov/Archives/edgar/data/1653482/000165348226000085/gtlb-20260501.htm). Sytse Sijbrandij, a co-founder who is [originally from the Netherlands](https://sytse.com/), controls 50.43% of the votes at its shareholder meetings. We couldn't find where Sijbrandij lives now, so we leave the question of who controls GitLab open. Its hosting is clearer: GitLab.com runs [on Google Cloud in South Carolina](https://handbook.gitlab.com/handbook/engineering/infrastructure-platforms/production/architecture/), and its [Dedicated](https://about.gitlab.com/dedicated/) version can run in EU regions of Amazon's cloud, at a price you have to ask for.

## Which one fits

- **A free-software project:** Codeberg, if the code isn't mostly written with AI tools and has nothing to do with cryptocurrency.
- **A company's private code, with no server to run:** CodeFloe, if you can do without a support contract. SourceHut, if none of the code is written with AI tools and your team is happy to review patches by email. Framagit, if you can accept that nobody promises to repair it.
- **A support contract:** none of the hosts above sells one. European hosting companies sell GitLab run for you, but we haven't checked who owns them.
- **Full control:** Forgejo on your own server.
- **Heavy use of GitHub Actions:** set aside time to adapt your workflows. Forgejo Actions is the closest.
