European alternatives to GitHub

Tired of Microsoft, worried about the US CLOUD Act, or simply want to build on European tools? There are real options, but they are made for very different people. Here is an honest look at each, including where we are not the right choice.

Workspace dashboard with repositories, usage and activity charts

The short answer

  • Codeberg if your project is open source and you want a free, community-run home.
  • Forgejo on your own servers if you want full control and have someone to run servers.
  • SourceHut if you like working with patches over email.
  • GitLab if you want one big platform for everything and will run it yourself. Note that GitLab is a US company.
  • Gitoro if your team works on private code, wants it in Europe, and doesn't want to run anything.

Codeberg

Codeberg is run by Codeberg e.V., a non-profit association in Berlin, mostly on its own hardware, and it runs on the free software Forgejo[1]. It is free to use, funded by donations and largely run by volunteers[3].

It is made for free and open-source projects. Private repositories are limited to 100 MB, for people who contribute to free software[1]. That makes it a great home for open projects, and a hard limit for company code. CI is available too: Woodpecker on request, or Forgejo Actions with runners you host yourself[2].

Pick it if you build in the open and want a community-run home.

Forgejo on your own servers

Forgejo, the software Codeberg runs on, is free software you can install yourself[4]. You choose the data centre and own the machines, so nobody else is involved. CI works through Forgejo Actions with your own runners[2].

The price is the running: updates, backups, security and CI runners are yours to look after.

Pick it if you want full control and have the people to run it.

SourceHut

SourceHut is based in the Netherlands, and hosting projects there needs a paid account[5]. It is entirely free and open-source software, and every feature works without JavaScript[6].

It is built around email: you send patches with git send-email and discuss them on mailing lists[7]. SourceHut describes itself as a public alpha that thousands of projects rely on[8].

Pick it if your team already works with patches over email, or wants to.

GitLab

GitLab is a broad DevSecOps platform, with a CI/CD style many teams know. GitLab Inc. is a publicly listed US company[9], and GitLab.com is hosted on Google Cloud[10].

You can run GitLab on your own servers in Europe, or buy GitLab Dedicated in an EU region[11]. Keep in mind that the US CLOUD Act covers data held by US service providers, wherever it is stored[12].

Pick it if you need one platform for everything and will run it yourself, or US ownership doesn't worry you.

Gitoro

Gitoro is a Danish company in Copenhagen, and we host code, pipelines and the AI models behind our AI features in the EU, on every plan[13]. Repositories are private by default, with roles, code owners, required approvals, pipeline minutes and AI review included. There is a free plan, and you pay per person who writes code. Read-only access is free.

To be fair about it: we launched in 2026, so our track record is short. We are not open source, and there is no marketplace like GitHub's.

Pick it if your team works on private code, wants it in Europe, and doesn't want to run servers.

Side by side

TopicCodebergForgejo, self-hostedSourceHutGitLabGitoro
Run byNon-profit, GermanyYouCompany, NetherlandsCompany, United StatesCompany, Denmark
Made forOpen-source projectsAnyone who runs itEmail-based workflowsEverything, at scaleTeams with private code
Private codeUp to 100 MB, for free-software contributorsNo limit beyond your serversYesYesPrivate by default
CI/CDWoodpecker on request, or your own runnersForgejo Actions, your own runnersbuilds.sr.htGitLab CIMinutes included, on EU-hosted runners
You run serversNoYesNoYour choiceNo
Open sourceYesYesYesPartlyNo
CostFreeYour servers and timePaid account to host projectsFree tier, paid plansFree plan, paid per seat

What "European" should mean

A European address alone isn't enough. Before you move, check three things:

  1. Who owns the company. A US-owned provider is covered by the CLOUD Act, even when its servers are in Frankfurt[12].
  2. Where the data actually lives, including backups.
  3. Where the extras run, especially AI. If code review or a coding assistant sends your code to a US model provider, your code leaves Europe anyway.

Moving off GitHub

Whichever you pick, your Git history moves with a plain push. Issues, pull requests and CI configuration take more work. If you choose Gitoro, your AI agent can bring those over for you.

Sources

Where each fact in this article comes from, checked October 2026. Products change, so check each company's own site for current details.

  1. Codeberg is run by Codeberg e.V., a non-profit association, mostly on its own hardware in Berlin. It runs on Forgejo, and allows up to 100 MB of private content for free-software contributors.

    Codeberg Docs: FAQ

  2. Codeberg's Woodpecker CI is available on request, and Forgejo Actions works with your own runners.

    Codeberg Docs: Working with Codeberg's CI

  3. In February 2025 Codeberg, a donation-funded non-profit, was hit by spam campaigns and a denial-of-service attack.

    heise online: Spam and DoS attacks on Codeberg

  4. Forgejo is a self-hosted software forge that will always be free and open-source software, made by a community under the umbrella of Codeberg e.V.

    Forgejo

  5. SourceHut is based in the Netherlands. Hosting projects needs a paid account, with financial aid available; contributing is free.

    SourceHut: Pricing

  6. SourceHut is 100% free and open-source software, and all its features work without JavaScript.

    SourceHut

  7. SourceHut supports contributing by sending patches by email with git send-email.

    SourceHut: Learn to use email with git

  8. SourceHut describes itself as a public alpha that thousands of projects rely on.

    SourceHut: Alpha details

  9. GitLab Inc. is a publicly listed US company.

    GitLab Investor Relations

  10. Google provides cloud hosting for GitLab.com.

    GitLab: Subprocessors

  11. GitLab Dedicated runs in a region the customer chooses, including EU regions.

    GitLab Docs: GitLab Dedicated data residency

  12. The US CLOUD Act covers data held by US service providers, wherever the data is stored.

    US Department of Justice: CLOUD Act resources18 U.S. Code § 2713

  13. Gitoro ApS is a Danish company in Copenhagen. Its servers, including the AI models behind its AI features, are in the EU.

    Gitoro Privacy Policy, sections 4 and 5Gitoro Trust Center

Try Gitoro with your own repository.

Create a free workspace and push a repository. Your history comes along as it is.