On this pageClimb only as far as you need
Running your own Git forge gives you private repositories without per-seat pricing, code that never leaves infrastructure you chose, and CI runners that can reach your internal network. The candidates look alike on a feature checklist, so it helps to think of them as a ladder. Each rung adds platform on top of plain Git, and costs more memory and more maintenance than the one below. Climb only as far as your team needs, then settle the remaining question of stewardship.
Climb only as far as you need
Rung 1: repositories and access
If you need private repositories and nothing else, you may not need a forge at all. Plain Git over SSH gives you push, pull and hooks with nothing listening except SSH. Gogs, the project the Gitea family descends from, adds a lightweight web interface on top. It is still maintained, with 0.14.x releases in November 2026, and has no built-in CI, which suits a one-person server more than a team.
Rung 2: reviews, issues and Actions
Gitea and Forgejo cover what most small teams mean by "a GitHub of our own": pull requests with reviews, issues, wikis, package registries and an Actions system that runs GitHub-style workflow files on separate runners. Both are single Go binaries. Gitea's documentation suggests that 2 CPU cores and 1 GB of RAM are typically enough for small teams, and Forgejo's footprint is comparable. Both support SQLite for small installs and PostgreSQL or MySQL as you grow.
Rung 3: CI, boards and search in one application
OneDev is a single MIT-licensed Java application that bundles features others leave to plugins or separate products:
- CI/CD defined in a
.onedev-buildspec.ymlfile, with a graphical job editor and executors for containers, bare metal and Kubernetes - Kanban boards with automatic issue state transitions and customizable workflows
- Code search with symbol navigation across any commit
- Built-in package registries, a service desk that turns emails into issues, and time tracking
Trying it takes one command. The socket mount lets OneDev run CI jobs in containers on the same host, which is convenient for evaluation and a security consideration for production:
docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock \
-v $(pwd)/onedev:/opt/onedev -p 6610:6610 -p 6611:6611 1dev/server
Port 6610 serves the web interface and 6611 handles Git over SSH. As a JVM application it needs more memory than Gitea or Forgejo, and in return simple setups get CI without installing a separate runner.
Rung 4: the full DevSecOps platform
GitLab Community Edition, the MIT-licensed core of GitLab, covers repositories, merge requests, CI/CD, a container registry, package registries, issue boards and much more in one installation. Many advanced planning and security features belong to the paid Premium and Ultimate tiers, so check that what you need is in CE.
The cost is weight. GitLab's documentation gives a baseline of 8 vCPU and 16 GB of RAM for a single-node installation, and says it can run with at least 8 GB in memory-constrained environments. It is a large Rails application with PostgreSQL, Redis, Gitaly and background workers. For a team that will use its CI, registry and planning tools, that weight buys a lot; for ten repositories and a handful of pull requests a week, it is overkill. The GitHub or GitLab guide compares its feature set with GitHub's.
Gitea or Forgejo: a stewardship decision
Most teams end up on rung 2, which leaves a choice between two projects with one history. Gitea began in 2016 as a fork of Gogs. In 2022 a company was formed to steer it, and part of the community responded by creating Forgejo, first as a soft fork that tracked Gitea, then as a hard fork in early 2024. Since then the two have diverged steadily:
- License. Forgejo moved from MIT to GPL-3.0-or-later with v9.0. For users running official binaries or images, nothing changes; redistributors must publish their sources. Gitea remains MIT.
- Governance. Forgejo is developed by its community under the umbrella of Codeberg e.V., a nonprofit. Gitea is maintained by a community together with a company that offers commercial support.
- Versions. Gitea dropped its historic
1.prefix with 28.0.0, released on September 30, 2026; the release before it was 1.27. Forgejo numbers its own majors, with v17 as the current stable line and v15 as the long-term support line, maintained until July 2027. - Upgrades between them. Only Gitea up to 1.22 can be upgraded in place to Forgejo, through Forgejo v10. Newer Gitea versions have no supported path, as covered in the Gitea to Forgejo migration guide.
- Features. Gitea 28 added audit logging, bot accounts and repository-scoped deploy tokens. Forgejo has invested in federation between instances, which is still a work in progress.
Day to day, they feel very similar. Pick Forgejo if a copyleft license and nonprofit stewardship matter to your organization, and Gitea if you prefer the permissive license and the option of commercial support.
Five forges in one table
| Gitea | Forgejo | OneDev | GitLab CE | Gogs | |
|---|---|---|---|---|---|
| License | MIT | GPL-3.0-or-later | MIT | MIT | MIT |
| Written in | Go | Go | Java | Ruby and Go | Go |
| Built-in CI | Gitea Actions | Forgejo Actions | Yes, with a visual job editor | GitLab CI/CD | No |
| Current line (Nov 2026) | 28.x | v17 stable, v15 LTS | 17.x | Monthly releases | 0.14.x |
| Footprint | Small | Small | Moderate (JVM) | Large | Very small |
| Steward | Community plus a company | Community, under Codeberg e.V. | Independent project | GitLab Inc. | Community |
Running a forge without surprises
- Run CI on separate machines. Runners execute code from every branch. Keep them off the forge server, and never attach a runner with access to secrets to repositories that accept outside contributions.
- Back up with the built-in tools.
gitea dumpandforgejo dumpproduce an archive of repositories, database and configuration; GitLab hasgitlab-backup createplus its secrets file. Test a restore at least once. - Plan the SSH port. In containers, Git over SSH usually moves to a port such as 2222 so the host keeps 22. Decide before users clone, since the port ends up in every remote URL.
- Configure outgoing mail early. Password resets and review notifications depend on it.
- Follow security releases. A forge holds every secret your CI uses, which makes it a target worth patching promptly.
Each of the five forges can be deployed on CloudSat as a one-click app, including Forgejo, Gitea, OneDev and GitLab, so comparing two of them side by side takes little effort.
FAQ
Can I move repositories between these forges later?
Yes. Git history always moves cleanly with git push --mirror. Gitea, Forgejo and GitLab also include migration tools that import issues, pull requests, labels, milestones and releases from other forges, with results that vary by source.
Do GitHub Actions workflows run on Gitea or Forgejo?
Many do. Both use GitHub-style YAML and can run a large share of existing actions, but compatibility is not complete. Expect to adjust workflows that depend on GitHub-specific services or contexts.
Which one should a five-person team start with?
Gitea or Forgejo on a small server, unless you already know you want OneDev's integrated CI or GitLab's full platform. Moving up the ladder later is a migration, not a rewrite, because the repositories come with you.
Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.




