Is Gerrit Code Review a GitHub alternative for your review workflow?
If a GitHub renewal, a GitHub Enterprise Server decision or a data location concern has put Gerrit on your shortlist, start with how your engineers review code. Gerrit is a credible GitHub alternative only when patchset review and fine-grained permissions are central to how the team works and the organization can run Git infrastructure itself. Gerrit is a web-based review system for Git repositories, and its model differs from pull requests: each revision of a change is a patchset, reviewers comment inline, and approvals follow a configurable process. Teams that already think in patchsets, such as those that amend and resubmit one change until it lands, will find the model familiar. Teams whose review culture centers on long-lived branches and pull request threads will spend the first months changing habits.
GitHub fits better when pull requests are the shared unit of review, when you want the platform hosted and operated for you, or when GitHub Actions already runs your builds. Gerrit's published CI integrations include Jenkins, GitHub Actions, Zuul and webhooks, which may reduce pipeline rework, but you should confirm how your existing workflows will trigger on each patchset. Five things decide the question: the review model, CI, identity, data location and operating capacity. For operating capacity, ask who will run upgrades, replication and backups, and how much on-call coverage that requires. For data location, confirm whether a self-hosted Gerrit in your own data center meets the requirement, or whether GitHub's regional options are enough. For identity, check how your single sign-on groups map to Gerrit's permission model.
Before you commit, run a pilot with one team's current changes and record three things: how reviewers handle revisions, how approvals are configured, and which Actions workflows must be rewritten to trigger on patchsets. If pull requests are the main requirement, compare Gerrit against GitHub Enterprise Server releases first, since the newest supported release is 3.22 and the self-managed edition keeps the pull request model. Gerrit is licensed under the Apache License, Version 2.0, so the software itself does not set your cost. The cost moves to servers, staff time and support, which is the part to put in writing with any partner quote.
Which scenarios make Gerrit a better GitHub alternative, and which do not
This table maps six team situations to the platform that fits better and states the condition under which each choice holds. Read the better-fit column first, then the reason, to see where Gerrit's patchset model helps and where GitHub's pull request flow, Actions and hosted operation remain the simpler answer. The main takeaway is that Gerrit suits review-heavy, self-run environments, and it is a poor fit for teams that want a single hosted platform with minimal operations.
| Scenario | Better fit | Why |
|---|---|---|
| Team working through pull requests | GitHub, if the team's workflow is branch-based pull requests and it has no need for patchset review | Pull requests are GitHub's native review unit. Gerrit's change and patchset model needs retraining for developers. |
| Team reviewing patchsets with configurable approvals | Gerrit, if reviews must run as a patchset series with configurable approval steps before merge | Gerrit's site describes patchset management and configurable approvals. Confirm your required approval rules first. |
| Regulated team that must keep code on its own infrastructure | Gerrit, if the code must stay in the organization's own data center and the team can run it | Self-hosting a commercial edition still needs a license and vendor support. Gerrit is Apache 2.0 licensed. |
| Team that relies on GitHub Actions workflows | GitHub, unless the team will rebuild its workflows and secrets on the new platform | Secret values are never returned by the API and must be re-created. Gerrit lists GitHub Actions as a CI integration, confirm it fits. |
| Many reviewers across large repositories | Gerrit, if large repositories need fine-grained access rules and many reviewers per change | Gerrit's site describes fine-grained permissions, global replication and active-active clustering. Confirm sizing with a test on your own repositories. |
| Organization with no staff to run Git servers | GitHub or a hosted service, unless someone can operate Gerrit's servers, upgrades and backups | Gerrit is self-hosted, so servers, upgrades, backups and plugin updates fall to your team or a support partner. Confirm who owns each task. |
How patchset review in Gerrit differs from pull requests on GitHub
GitHub reviews a branch through a pull request thread, while Gerrit reviews each change as a series of patchsets that stay linked as the author revises it. The four differences below affect how reviewers iterate, when code can merge, who can do what, and how builds report back. Confirm workflow fit with a pilot team before committing to either model.
Patchsets and iteration
In Gerrit, each change is a single review unit identified by a Change-Id, and every new push to that change creates a new patchset. Reviewers compare patchsets side by side, so they can see what changed between the first and third revision without reading through the full commit history. On GitHub, the author usually pushes more commits to the same branch and the pull request thread absorbs them. Developers usually amend and re-push the same commit, which changes how they split work. Check how your team handles stacked changes and amended commits during the pilot.
Gerrit project siteApprovals and submit rules
Gerrit records approval as labels on a change, such as Code-Review and Verified, and a configurable approval process decides when a change can be submitted. On GitHub, branch protection and required reviews usually govern merges, with the pull request as the control point. In Gerrit, reviewers vote on each patchset, and label rules determine whether a new patchset keeps earlier votes. Teams moving over should document who may approve which paths and test that a revised patchset cannot merge on stale votes. Confirm the label and submit rules with the pilot team before go-live.
Fine-grained permission model
Gerrit's permission model is set per project and per branch or reference, so administrators can grant a group rights to push for review, approve, or submit on specific branches. On GitHub, teams usually manage this through organization roles, team permissions and branch protection rules. Gerrit asks the administrator to plan access as project access control lists, so someone must own the mapping from current teams to Gerrit groups and understand how permissions inherit. Write down that mapping, name the people who administer it, and test each rule on a sandbox project before it reaches production repositories.
CI hooks and build feedback
Gerrit connects to build systems through integrations with Jenkins, GitHub Actions, Zuul and webhooks, and its REST API exposes changes and patchsets to scripts. On GitHub, Actions runs attach to the pull request and the workflow files live in the repository itself. A typical Gerrit setup triggers a build on each new patchset, so the pipeline must handle many small revisions and report which patchset it tested. Check that runner access, credentials and event triggers are configured for the Gerrit host before the pilot starts.
Capability by capability: GitHub, Gerrit and what to confirm
This table compares GitHub and Gerrit Code Review capability by capability, with a column for what to confirm before you commit to a move. Gerrit centers review on patchsets, so developers and approvers will need to learn a different workflow from pull requests. The main takeaway is that Gerrit describes review, permissions, replication and CI integration, while issues, wiki and some hosting and support decisions need a second tool or a written plan before cutover.
| Capability | GitHub | Gerrit Code Review | What to confirm |
|---|---|---|---|
| Code review model | Pull requests with review comments, approvals and merge controls in one hosted or self-managed product | Patchset-based review workflows in a web interface for Git repositories | Confirm how developers will push changes for review and how they will be trained on the patchset workflow |
| Inline comments and approvals | Line comments on pull requests, with approvals enforced through branch protection rules | Inline comments, patchset management and configurable approval processes | Confirm how approval labels map to your existing policies, including required reviewer counts and separation of duties |
| Permissions | Organization, team and repository roles, plus branch protection and rulesets | Fine-grained permission model for projects, branches and labels | Confirm the permission model needed for regulated branches and how existing groups from your identity provider will map in |
| Issues and wiki | Issues, project boards and wikis built into the platform and linked to pull requests | Its described feature set centers on code review, so issues and wikis need another tool | Confirm which tracker and wiki you will pair with Gerrit, how commits link to tickets and how existing history moves |
| CI/CD and REST API | GitHub Actions for pipelines; 5,000 requests per hour for personal access tokens, per GitHub's Actions limits documentation | Integrations listed for Jenkins, GitHub Actions, Zuul and webhooks; REST API included | Confirm your pipeline tool, how Actions secrets will be re-created and the rate limits your bulk export scripts need |
| Global replication and active-active clustering | Operated by GitHub in its cloud; self-managed availability depends on the edition you choose | Global replication and active-active clustering described on the Gerrit project site | Confirm whether you need replicas across sites, who operates clustering and failover, and how failover is tested |
| License | Proprietary hosted service under GitHub's terms of service | Apache License, Version 2.0, per the COPYING file in the Gerrit repository | Confirm the license of each plugin you add, since plugin terms are set by their own projects |
| Editions and support | Team at $4 and Enterprise at $21 per user per month on GitHub's pricing page, plus self-managed GitHub Enterprise Server | Community project with a downloadable release line, including Gerrit 3.15.0 | Confirm current per-user rates, which GitHub Enterprise Server release you will run and which firms offer Gerrit support |
| Hosting options | GitHub Enterprise Cloud, GHE.com data residency (EU, Australia, US, Japan) or self-managed GitHub Enterprise Server | Self-hosted on servers, data centers or cloud accounts that you operate | Confirm the data location for your code and backups on each option, and who holds the backup and restore duties |
Where code and review data live under each option
Each option answers the same four questions: where code and review data is stored, who operates the platform, who can reach it, and what evidence an assessor can review. GitHub's hosted residency option and its self-managed edition differ mainly on the first two questions, while Gerrit places all four decisions with your team. Settle these requirements before comparing features.
GitHub Enterprise Cloud data residency
Enterprise Cloud with data residency runs on a dedicated GHE.com subdomain in an EU, Australia, US or Japan region. The EU option includes Azure regions in Norway and Switzerland. GHE.com does not offer public repositories or certain GitHub Copilot features, so check any open-source or Copilot dependency before you commit. Confirm which region fits your obligations, and ask where backups and support access are handled.
GHE.com residency docsSelf-managed hosting on your infrastructure
GitHub Enterprise Server is the self-managed edition of GitHub, licensed per user, and it runs on infrastructure you control. Gerrit runs wherever your organization hosts it, including your data centers, your cloud accounts or an air-gapped network. In both cases, your team owns patching, backups, capacity and upgrades, so the hosting choice is also an operating commitment. GitHub supports at least the four most recent feature releases of Enterprise Server, so plan upgrades inside that window.
Enterprise Server releasesIdentity and access decisions
Gerrit's permission model and identity setup are design decisions your team makes. Decide which identity provider signs users in, how groups map to project permissions, and who may approve or submit changes. Gerrit's fine-grained permissions can express these rules, but only if someone defines them. Build the same access matrix for each option, and ask each vendor to show how access reviews, offboarding and audit logs work in your setup.
Gerrit project siteCompliance evidence comes from your system
Controls, configurations and logs for a compliance assessment must come from the platform you actually run. DeployOpen prepares those controls and evidence for assessments, including access settings, audit logging and data handling for the self-hosted platform. Independent auditors issue the audit reports and certifications. Ask your auditor which evidence they expect from each option before the design is set, because data location, hosting model and identity design all shape the answer.
Which path fits your team: GitHub, Gerrit or a data residency option
The path starts with one question: must code reviews run as patchsets with configurable approvals and fine-grained permissions? If yes, check that your CI and identity requirements fit Gerrit, then check whether your team has the capacity to run it. A fit leads to a Gerrit pilot, and a gap leads to a scoping call. If reviews do not need that model, the question shifts to data location. When a GHE.com region meets your residency rule, GitHub Enterprise Cloud with data residency is the option to assess. When the code must stay on servers you run, GitHub Enterprise Server is the option to scope.
Decision path from review requirements to GitHub, Gerrit or data residency options.
What a GitHub alternative costs: subscriptions versus self-hosted Gerrit
The cost of leaving GitHub is not one line item. Subscription fees end, but a self-hosted Gerrit platform adds servers, storage, staff time and one-time services, and each depends on the scope agreed before work starts. The four cards separate what recurs from what is paid once, and what drives each figure up or down in your environment.
Subscriptions and licensing
GitHub's pricing page lists Team at $4 and Enterprise at $21 per user per month, and Enterprise is available as GitHub Enterprise Cloud or as self-hosted GitHub Enterprise Server. Gerrit is licensed under the Apache License 2.0, so the software itself carries no license fee. Support is a separate choice: confirm whether you buy a commercial support contract, rely on community support, or staff the work internally, and price each option in writing.
GitHub pricing pageInfrastructure and storage
Infrastructure cost follows the workload you move: the number of repositories, their size, how much history they carry and how often CI reads them. Budget for the Gerrit servers, the storage for Git data, and backup storage with restores you have tested. Each replication site adds a server and another copy of the repositories, which Gerrit's global replication feature keeps in step. GitHub's repository limits documentation recommends keeping a .git folder under 10 GB, so check your largest histories before you size storage.
Gerrit project siteOperating staff
Gerrit needs people who run it every week: administering projects, groups and access, watching servers and replicas, testing backups and restores, and planning each upgrade. The REST API and over 100 community plugins add configuration that someone must track. Staff time recurs for as long as the platform runs, so ask any quote to name who performs each duty, how often, and whether support covers out-of-hours incidents.
One-time services
These costs are paid once, against a written scope: CI rework, permission design, migration and a pilot. CI rework means reconnecting pipelines, through Jenkins, Zuul or webhooks, and re-creating Actions secrets, because GitHub's REST API returns secret names but never their values. Permission design maps GitHub teams and branch rules onto Gerrit's fine-grained model. Migration must cover repository history and review records, and a pilot tests all three before the wider move. Ask for a quote built from a written scope that lists each item.
Organization migrations APIWhat a GitHub alternative migration involves, step by step
This sequence moves repositories, Git history, review metadata, permissions and CI from GitHub into a self-hosted Gerrit deployment in your own infrastructure, ending with a cutover and a read-only archive of the old platform. Each step closes with a check you can run before moving on, so pilot and cutover decisions rest on evidence.
Inventory repositories, pipelines and identities
Your engineering leads list every repository, branch protection rule, webhook, CI pipeline and external integration that depends on GitHub. Your identity and security team lists the users, teams and service accounts that hold access to each repository, and marks which ones need a Gerrit account and which can be retired. Each repository and pipeline gets a named owner. Done when the inventory is complete, every item has an owner, and the security team has reviewed the access list.
Mirror Git history to the new host
Run
git clone --mirroragainst each GitHub repository to capture every branch, tag and ref, then push the mirror to the matching Gerrit project. Gerrit routes proposed changes through its own review refs, so test with a sample repository that the migration account can push the branches and tags you need. Check that commit counts, tag lists and the default branch match between source and target for each repository in the pilot set. Done when the checks match for every repository in scope and the results are saved with the migration log.Export metadata within the API limits
An organization owner requests a migration archive through the organization migrations API for the repositories you chose, deciding whether to exclude metadata, attachments or releases from each archive. GitHub deletes each archive after seven days, so download and store every archive in your environment before that window closes. Plan the request volume around the 5,000 requests per hour limit for personal access tokens, and confirm the current figure in GitHub's documentation before scheduling. Done when each archive is downloaded, its checksum is recorded, and its contents match the repository list.
Decide how review history carries over
Gerrit organizes review around patchsets and change records, so GitHub pull request threads do not map one-to-one onto Gerrit changes. Decide per repository whether historical pull requests and comments stay in the read-only GitHub archive for reference, or whether a scripted import recreates selected records in Gerrit. Confirm with the Gerrit project and your integrator whether an import tool exists for the data you need. If none does, scope the script as its own deliverable with test cases. Done when each repository has a written decision signed off by the engineering leads who will review changes after cutover.
Define Gerrit projects, permissions and approval rules
Create one Gerrit project for each repository, or for each group of closely related repositories, and grant read, push, submit and label permissions to the groups from your inventory. Configure approval rules so the required reviewers and label values match the branch protection you run on GitHub today. Decide where large files belong, because GitHub enforces a 100 MB file limit and a 2 GB push limit on its own platform, and confirm the limits your Gerrit server and storage will enforce. Done when a test change needs the agreed approvals, a change without them cannot submit, and the size limits are written down.
Connect CI and re-create Actions secrets
Connect the pipelines from your inventory through Jenkins, GitHub Actions, Zuul or webhooks, whichever your team already operates. GitHub's REST API returns only the names of Actions secrets, never their values, so each secret must be re-created on the new platform from its source system by the person who owns it. Run a test change through each pipeline and confirm that build status reports back to the Gerrit change. Done when every pipeline in scope reports results to Gerrit and every secret it needs has been re-created and tested.
Pilot, cut over and archive the old platform
Run a pilot with one team on a small set of representative repositories, using their normal changes, builds and approvals. When the pilot behaves as expected, agree a cutover date in writing, stop pushes to GitHub for each repository in scope, and run a final mirror and metadata export. Then set the GitHub repositories to read-only and keep the archive, including the migration files, under the retention rules your compliance team sets. Done when the final mirror checks pass, pushes to GitHub are blocked, and the archive is stored and indexed.
What buyers ask before leaving GitHub for a self-hosted alternative
What drives the cost of moving off GitHub to a self-hosted forge?
The software carries no license fee, since Gerrit is licensed under Apache License 2.0, so the cost is the work and the infrastructure around it. One-time costs include migration engineering, identity and CI rework, and cutover testing. Recurring costs include servers or cloud capacity, storage, backups, patching, monitoring and the staff who run the platform. Support contracts are optional and priced by the vendor. Costs rise with repository count, review history volume, the number of pipelines and any compliance evidence you need to produce. Ask for a quote built from a written scope that lists each component, marks what is one-time and what recurs, and states who pays for each part.
What makes a GitHub to Gerrit migration take longer?
Repository count, review history volume, CI rework and identity integration set the schedule more than the Git data does. Copying Git history is usually the simplest step. The harder part is the review model, because GitHub uses pull requests while Gerrit uses patchset based review, and each team needs agreed rules for how old pull request discussions map onto Gerrit changes. Review history volume drives import and checking work, so more open and historical pull requests mean more time. CI rework covers pipelines, triggers and any GitHub Actions logic that must be re-expressed. Identity integration means connecting Gerrit to your SSO and group model before developers can sign in and review. Ask for a schedule broken out by repository group and by these four drivers.
What does the migration need from our own team?
Most of the work depends on decisions only your organization can make, so the team has to supply them early. Expect to name a business owner for each repository group, approve the review rules and permission model, provide SSO and group records from your identity provider, and set a cutover window for each team. Your engineers also need to inventory CI pipelines, webhooks and secrets, since GitHub Actions secrets cannot be exported and must be re-created. Someone must own the target environment, including hosting location, network access, backup targets and on-call duties after go-live. Ask any provider to list these inputs in the written scope so gaps surface before work starts.
Can our in-house team run a move from GitHub without a partner?
It can, if the team already runs Git servers, CI and an identity provider and has time to plan and test the cutover. The useful test is capacity: whether the people who would do the work can keep their current duties, have tested restore procedures, and can own the platform after go-live. Gaps usually appear in review migration, CI rework and the evidence that security and compliance reviewers ask for. Some organizations keep the platform and change work in-house while bringing in a partner for fixed parts such as the migration plan, identity integration, hardening and documentation. DeployOpen plans, implements, integrates, hardens, backs up and documents self-hosted platforms inside the client's own infrastructure, and most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
When do GitHub Enterprise Server 3.19 and 3.22 close down?
GitHub Enterprise Server 3.19 closes on December 9, 2026, and 3.22 closes on September 8, 2027. Version 3.22 was released on September 8, 2026 and is the newest supported release. GitHub supports at least the four most recent feature releases, so any instance still on 3.19 needs an upgrade or a documented exit plan now. A supported release also keeps the current instance patched while the migration runs. Compare these dates with your own schedule, including the upgrades, testing and cutover a move would need. Confirm the exact dates and support terms on GitHub's releases page before you commit to a plan.
Can Gerrit keep working with GitHub Actions during and after a move?
Yes, the Gerrit project site lists GitHub Actions among its CI/CD integrations, alongside Jenkins, Zuul and webhooks, so pipelines can be kept in some form. Confirm the exact pattern before relying on it. A workflow that depends on GitHub pull request events or GitHub-hosted runners will need a different trigger, such as a Gerrit event or webhook, and a runner you operate. GitHub Actions secrets cannot be exported, so every secret a workflow uses must be re-created in the target system. Ask for a written list of workflows with each trigger, runner and secret, and test them against a staging Gerrit before cutover. Plan for a period where both systems run the same checks if your release process depends on them.
How DeployOpen scopes and runs a Gerrit move from GitHub
DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure. For a move from GitHub to Gerrit Code Review, the work starts with the repositories and review workflow, then covers the history move and the parts of GitHub that do not transfer on their own.
How we scope
- Engagements are fixed-scope, with repositories, review workflow and deliverables agreed in writing before work starts.
- The written scope lists which GitHub data moves: Git history, pull request discussions, issues, releases or wikis.
- Scope also covers Gerrit's approval rules, permission model and which CI systems or webhooks connect to it.
How we build
- Install Gerrit in your own infrastructure, pinning the release you confirm on the project site at build time.
- Map GitHub pull request habits to Gerrit's patchset model, with inline comments, configurable approvals and fine-grained permissions.
- Move Git history by clone or mirror, then rebuild issues, reviews and Actions secrets, since secret values never export.
How we hand over
- Written documentation covers the Gerrit configuration, backup and restore steps, permission model and the CI integrations in use.
- A migration record lists each repository, its history check and any GitHub metadata that stayed behind or needs manual rework.
- Developers get a walkthrough of pushing changes for review, since Gerrit's workflow differs from opening a GitHub pull request.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the handover is complete.
- Security testing of the Gerrit deployment, including access control and CI integrations, can run alongside the move.
- During scoping, confirm with us which GitHub Actions workflows keep running and which need a new CI system.

