
Git for the team, part 6: GitLab, Gitea, Forgejo, or GitHub — what to choose and when to pay
🌐 Machine-translated from Russian. Show original
In this part:
Candidates#
| Platform | What is | License |
|---|---|---|
| GitLab CE | a complete platform: repositories, tasks, MR, CI/CD, registries, wikis, | MIT (CE); EE — proprietary |
| **GitLab.com | ** cloud GitLab | free and paid plans |
| Gitea | a lightweight self-hosted Git service on Go | MIT |
| Forgejo | a community fork of Gitea, running Codeberg | GPL-3.0+ (since version 9) |
| GitHub | Microsoft's cloud platform, the largest community | cloud; Enterprise Server — paid |
Comparison#
| GitLab CE (proprietary) | Gitea / Forgejo | GitHub (cloud) | |
|---|---|---|---|
| Server resources | from 8 GB RAM, 16 GB recommended | from 1–2 GB RAM, works even on a mini PC | no |
| Install and update | package, monthly updates | one binary or Docker, just | don't need |
| CI/CD | built-in GitLab CI, a very powerful | Gitea Actions / Forgejo Actions (syntax close to GitHub Actions) + its own runner | GitHub Actions, a huge marketplace |
| Register of containers and packages | ✅ | ✅ | ✅ |
| Tasks, boards, milestones, | ✅ developed | ✅ basic | ✅ Issues + Projects |
| Mandatory approvals MR, CODEOWNERS | paid (Premium) | ✅ free | ✅ for public; for private — in paid tariffs |
| Sign-in via AD/LDAP | ✅ | ✅ | Enterprise |
| Working without internet | ✅ | ✅ | ❌ |
| Data in the RK | ✅ on your server | ✅ on your server | ❌ |
When what is suitable#
GitLab CE — "all-in-one" for the team#
- ✅ One product closes the code, review, CI/CD, image registry, tasks, and wikis.
- ✅ The most powerful built-in CI among self-hosted solutions.
- ✅ Well-documented, familiar to most DevOps engineers.
- ❌ Heavy: serious memory requirements, monthly updates, mandatory stoppages during updates.
- ❌ A number of "command" features (mandatory approvals, CODEOWNERS, protected environments) are only available in paid editions.
Take it if a team of 5–10 people needs a serious CI/CD and has someone to maintain the server.
Gitea or Forgejo — easy and free#
- ✅ Installed in 10 minutes, consumes several times less resources.
- ✅ Protected branches with mandatory approvals, CODEOWNERS, LDAP — free of charge.
- ✅ Actions are compatible with most GitHub Actions.
- ❌ CI is less mature than GitLab CI; the runner is set separately.
- ❌ Fewer integrations and "corporate" features.
The difference between them: Gitea is developed by Gitea Ltd (there is a paid Gitea Enterprise and cloud), Forgejo is a non-profit community under the umbrella of Codeberg e.V. with an emphasis on openness. In terms of features, for a small team, they are close; choose by whose development model suits you best and check compatibility when transitioning — after forking, projects gradually diverge.
Take if the team is 1–10 people, the server is weak, and a simple and free Git with review is needed. A good option for 1C developers with EDT: they often need a repository and review rather than a complex CI.
Websites: about.gitea.com, forgejo.org.
GitHub — when you don't want to serve the server#
- ✅ Nothing needs to be administered.
- ✅ GitHub Actions, Dependabot, secret scanning, Copilot.
- ✅ Open projects and developer portfolios live here.
- ❌ The code is stored abroad — not suitable if there is a requirement to store data in the Republic of Kazakhstan.
- ❌ Availability and terms depend on the provider; some features for private repositories are paid.
Take for open projects, pet projects, and teams without data placement requirements.
GitLab.com#
The same GitLab, but in the cloud: maintenance-free, with a free plan and limits on the number of users and CI minutes. Convenient to try GitLab or for small teams without data storage requirements.
When and what to pay for#
| Product | Model |
|---|---|
| GitLab CE, Gitea, Forgejo | free, pay only for server and admin time |
| GitLab Premium / Ultimate (self-managed or .com) | subscription per user per year |
| Gitea Enterprise, Gitea Cloud, | canvas |
| GitHub Team / Enterprise | monthly subscription per user |
i️ Terms are changing. Prices, tariffs, and features are as of November 2026. Before purchasing or implementing, please check the official websites: about.gitlab.com/pricing, github.com/pricing.
It makes sense to pay when:
- technically mandatory approvals and CODEOWNERS in GitLab (Premium) are required;
- vendor support with guaranteed response time is required;
- audit and security requirements (SAST, DAST, compliance reports — Ultimate);
- hundreds of users and high availability.
Crossing between platforms#
- GitHub → GitLab: built-in import (New project → Import project → GitHub) migrates repositories, tasks, MR, and comments.
- GitLab / GitHub → Gitea or Forgejo: New migration — transfers repositories, tasks, MR, releases, wikis.
- Code only:
git clone --mirrorold repository andgit push --mirrorto the new one — transfers all branches and tags.
git clone --mirror https://old.example.com/team/app.git
cd app.git
git push --mirror git@gitlab.company.kz:company/app.git
CI files are overwritten when moving: .gitlab-ci.yml and GitHub Actions are incompatible directly.
Conclusion#
| Situation | Choice |
|---|---|
| 1–5 developers, weak server, need your own Git with review | Forgejo or Gitea |
| Team of 5+ people, serious CI/CD, in-house data | GitLab CE on your own server |
| Strict approval rules and audit | GitLab Premium/Ultimate |
| Open project or no hosting requirements | GitHub or GitLab.com |
| Fully closed network without internet | GitLab CE, Gitea , or Forgejo |
What you can do after the series#
- Configure Git and make clear commits, undo errors
- Choose a branching strategy and resolve conflicts
- Build the review process with templates and protected branches
- Upgrading GitLab CE with HTTPS, LDAP, and backups
- Build a pipeline: tests → image → deployment
- Choose a platform for your team and budget
🎉 Series completed. Return to contents.
Comments · 0
No comments yet.Sign in to comment, rate and see all comments.