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 | Codeberg | |
|---|---|---|
| Operator | GitHub, Inc., a Microsoft subsidiary | Codeberg e.V., a registered non-profit association based in Berlin, Germany |
| Software | Proprietary | Forgejo, licensed GPL-3.0 or later |
| Who may host | Anyone, for any project, public or private | Projects under a free and open-source licence. Private repositories only for things a free software project needs |
| Price | Free, Team at $4 and Enterprise at $21 per user per month | Free. No paid plans. Funded by donations and membership fees |
| Storage | Recommended maximum of 10 GB per repository. Files over 100 MB are rejected. 500 MB Packages storage on Free | No quota for valid use. Ask first above 750 MiB of Git storage or 1.5 GiB of packages, LFS and attachments |
| CI/CD | GitHub Actions, 2,000 minutes a month on Free, free in public repositories | Woodpecker CI after a manual access request. Hosted Forgejo Actions runners with strict time limits |
| Static sites | GitHub Pages, public repositories only on Free | Codeberg Pages, public repositories, at username.codeberg.page or a custom domain |
| Federation | None | Forgejo 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.
- GitHub pricinggithub.com
- GitHub's plansdocs.github.com
- GitHub repository limitsdocs.github.com
- GitHub Pages limitsdocs.github.com
- About GitHub Importerdocs.github.com
- What is Codeberg?docs.codeberg.org
- Codeberg Terms of Usecodeberg.org
- Codeberg FAQdocs.codeberg.org
- Join Codeberg e.V.join.codeberg.org
- Donate to Codebergdocs.codeberg.org
- Codeberg CIdocs.codeberg.org
- Codeberg hosted Forgejo Actionscodeberg.org
- Codeberg Pagesdocs.codeberg.org
- Codeberg: migrating repositoriesdocs.codeberg.org
- Forgejo GitHub migration form (source)codeberg.org
- Forgejo licencecodeberg.org
- Forgejo Actions and GitHub Actionsforgejo.org
- Forgejo configuration: federationforgejo.org
- Forgejo federation roadmapcodeberg.org
Related pages
- Forgejo vs Gitea
Two self-hosted forges from one codebase, compared on what has diverged since the fork.
- Codeberg vs GitLab
A non-profit host for free software and a company’s hosted DevSecOps platform, side by side.
- GitLab vs GitHub
The two platforms most teams compare first, side by side on price, limits, hosting model and licence.
- GitLab alternatives
Every platform that can replace GitLab, grouped by how it is run, with the free-tier limits that send people looking.
- GitHub vs Bitbucket
Two hosted Git platforms with close per-seat prices and very different ecosystems, side by side.
- Bitbucket alternatives
Every platform that can replace Bitbucket, including the self-hosted options now that Data Center is closed to new customers.
- Gitea vs GitLab
The lightweight forge and the all-in-one platform, side by side for teams that want to run their own.
- Azure DevOps vs GitHub
Two Microsoft developer platforms with different pricing, CI models and roadmaps, side by side.
- Perforce vs Git
A distributed open-source tool and a centralised commercial server, compared on the problems that make teams choose between them.
- Bitbucket vs GitLab
Atlassian’s Git host and GitLab side by side: seat prices, CI allowances, Jira, single sign-on and running it yourself.
- Forgejo vs GitLab
A small community forge and an all-in-one company platform, side by side for teams that run their own server.
- Gogs vs Gitea
The original lightweight Go forge and the community fork that grew out of it, side by side.
- Git hosting pricing compared
What every Git hosting platform charges, per user or per plan, with its free tier, in one place.
- Hosting for Subversion, Perforce and large binary files
Every platform in the directory that hosts Subversion, runs Perforce, or handles large binary files with exclusive locking.