GitHub alternatives Codeberg vs GitHub

~ git remote -v

Codeberg vs GitHub

A non-profit forge for free software next to the largest commercial Git host, side by side.

Verified Published

Independent comparison. Not affiliated with GitHub, Inc., Microsoft Corporation or Codeberg e.V. Every figure below was read from the vendor's own page on 15 November 2026 and is linked in the sources list.

GitHub and Codeberg both host Git repositories with issues, pull requests, CI and static sites. They differ in who runs them and who they are for. GitHub is a company that sells per-seat plans to anyone. Codeberg is a registered non-profit association in Berlin that hosts free and open-source projects at no charge and sells no plans.

This page is a directory entry, not a verdict. Every figure comes from GitHub’s and Codeberg’s own pages, terms and documentation, or from Forgejo, the software Codeberg runs.

At a glance

GitHub and Codeberg at a glance. Read from each vendor's pricing page on 15 November 2026. Scroll sideways on small screens.
GitHubCodeberg
OperatorGitHub, Inc., a Microsoft subsidiaryCodeberg e.V., a registered non-profit association based in Berlin, Germany
SoftwareProprietaryForgejo, licensed GPL-3.0 or later
Who may hostAnyone, for any project, public or privateProjects under a free and open-source licence. Private repositories only for things a free software project needs
PriceFree, Team at $4 and Enterprise at $21 per user per monthFree. No paid plans. Funded by donations and membership fees
StorageRecommended maximum of 10 GB per repository. Files over 100 MB are rejected. 500 MB Packages storage on FreeNo quota for valid use. Ask first above 750 MiB of Git storage or 1.5 GiB of packages, LFS and attachments
CI/CDGitHub Actions, 2,000 minutes a month on Free, free in public repositoriesWoodpecker CI after a manual access request. Hosted Forgejo Actions runners with strict time limits
Static sitesGitHub Pages, public repositories only on FreeCodeberg Pages, public repositories, at username.codeberg.page or a custom domain
FederationNoneForgejo federation is experimental and off by default

Who runs it and what you may host

GitHub, Inc. is a Microsoft subsidiary. Its Free plan includes unlimited public and private repositories with unlimited collaborators, and any project may live there.

Codeberg is run by Codeberg e.V., a registered non-profit association in Berlin. Members elect its presidium and board. You do not have to be a member to use it.

Codeberg’s Terms of Use open the service to projects under a free and open-source licence. Public content must allow use for any purpose, so Creative Commons NC and ND licences are excluded. Private repositories are allowed only for things a free software project needs, not as personal cloud storage. Codeberg’s FAQ allows up to 100 MB of private content for convenience, and says it offers no private hosting for commercial work.

The terms, last changed in July 2026, also bar cryptocurrency projects and projects that mostly consist of code written by generative AI tools. Abandoned accounts with almost no contributions may be deleted after 365 days unused.

Price, storage and funding

GitHub sells three plans: Free, Team at $4 and Enterprise at $21 per user per month. Free includes 2,000 Actions minutes and 500 MB of Packages storage a month. GitHub recommends keeping each repository under 10 GB on disk and rejects files over 100 MB.

Codeberg charges nothing and sells no plans. Its FAQ says there is no quota for valid use, but asks projects to request approval above 750 MiB of Git storage, 1.5 GiB of packages, LFS and attachments, or large CI use. Codeberg says it does not accept payment for exceptions to its rules.

Codeberg is funded by donations, through Liberapay or SEPA bank transfer, and by membership fees. Active membership, with voting rights, and supporting membership both start at €24 a year. Corporate membership starts at €100 a year and has no vote. Membership buys no extra resources.

CI and Pages

GitHub Actions runs on every plan and is free in public repositories. Private repositories get 2,000 minutes a month on Free.

Codeberg offers two CI options. Its hosted Woodpecker CI needs a manual access request, which a volunteer reviews. Codeberg says that access is provided as-is, builds only for linux/amd64, and must use resources reasonably.

Codeberg also hosts Forgejo Actions runners in limited form, for public projects under a free licence. The largest, codeberg-medium, allows 4 CPUs, 8 GB of RAM and 10 minutes per run. codeberg-tiny allows 1 CPU and 2 minutes. You can attach your own runners instead. Forgejo says its Actions are familiar to GitHub Actions users but not designed to be compatible, so workflows need some changes.

GitHub Pages serves from public repositories on Free and from private ones on paid plans. Sites may be up to 1 GB, with a soft limit of 100 GB of bandwidth a month. Codeberg Pages serves public repositories at username.codeberg.page or a custom domain, deployed by webhook or Forgejo Actions. Codeberg has moved Pages to the git-pages server and closed the older v2 server to new users.

Federation

Forgejo is building federation over ActivityPub, so that separate instances can interact. Its own documentation calls the feature experimental and ships it switched off. Its roadmap lists federated stars as done, user activity following and repository discovery as in progress, and federated comments and pull requests as later steps.

Federation does not connect Codeberg and GitHub. A contributor needs an account on each forge to open issues or pull requests there.

Moving from GitHub to Codeberg

Codeberg runs Forgejo’s migration tool, which has a GitHub option. With a GitHub access token it imports the repository and, by choice, its wiki, issues, labels, milestones, pull requests, releases and Git LFS files. A token is required for anything beyond the Git data, or for a private repository. Codeberg asks you to delete the token afterwards.

The same tool can set the copy up as a mirror that keeps pulling from GitHub. GitHub Actions workflows do not run unchanged on Codeberg and need adapting to Forgejo Actions or Woodpecker.

In the other direction, GitHub Importer copies code and commit history from any public Git host, including Codeberg. It does not import issues, pull requests or Git LFS objects.

git clone --mirror https://github.com/owner/repo.gitcd repo.gitgit remote set-url --push origin git@codeberg.org:owner/repo.gitgit push --mirror

Frequently asked questions

Is Codeberg free?

Yes. Codeberg sells no plans. It is funded by donations and by membership of Codeberg e.V., which starts at €24 a year and is optional.

Can I keep private repositories on Codeberg?

Only for things a free software project needs. Codeberg’s FAQ allows up to 100 MB of private content and says it offers no private hosting for commercial work.

Does Codeberg have CI like GitHub Actions?

Yes, in two forms. Woodpecker CI needs a manual access request. Hosted Forgejo Actions runners are limited to 10 minutes and 4 CPUs per run at most. Forgejo Actions is similar to GitHub Actions but not designed to be compatible.

Can I move issues and pull requests from GitHub to Codeberg?

Yes. Codeberg’s migration tool imports issues, pull requests, labels, milestones, releases, the wiki and LFS files from GitHub when you give it a GitHub access token.

Is Codeberg federated?

Not in practice yet. Forgejo’s federation is experimental and off by default. Federated stars work; federated issues and pull requests are still on the roadmap.

Sources

Checked on 15 November 2026. Prices and limits change without notice. Each link goes to the page the figure came from.

  1. GitHub pricinggithub.com
  2. GitHub's plansdocs.github.com
  3. GitHub repository limitsdocs.github.com
  4. GitHub Pages limitsdocs.github.com
  5. About GitHub Importerdocs.github.com
  6. What is Codeberg?docs.codeberg.org
  7. Codeberg Terms of Usecodeberg.org
  8. Codeberg FAQdocs.codeberg.org
  9. Join Codeberg e.V.join.codeberg.org
  10. Donate to Codebergdocs.codeberg.org
  11. Codeberg CIdocs.codeberg.org
  12. Codeberg hosted Forgejo Actionscodeberg.org
  13. Codeberg Pagesdocs.codeberg.org
  14. Codeberg: migrating repositoriesdocs.codeberg.org
  15. Forgejo GitHub migration form (source)codeberg.org
  16. Forgejo licencecodeberg.org
  17. Forgejo Actions and GitHub Actionsforgejo.org
  18. Forgejo configuration: federationforgejo.org
  19. Forgejo federation roadmapcodeberg.org

All 45 GitHub alternatives, compared