Source code platform pricing: how AI changes your CI/CD bill
Your team can ship more code with AI without buying another seat. What happens to the bill when all those changes have to be built, tested and deployed?
Updated Fact-checked
Suppose an agent updates a dependency across twenty services. It can write the edits in one sitting. Each service still needs a build, and a failed test can send a revised patch through the queue again. Now picture the same agent generating a thousand lines of fixtures in a single change. That might trigger just one short test. The number to look up on the invoice is how many minutes the runners actually worked.
What does 2× or 10× the CI workload cost?#
Take a team starting at 5,000 billed Linux build minutes a month. Keep its ten paid developer seats fixed and change only the build workload. These are monthly US dollar totals for private repositories, including seats and CI. The multiples describe runner usage. A team shipping ten times as much code might run the same tests once or repeat them across dozens of changes.
| Monthly CI usage | GitHub Team | Bitbucket Standard | GitLab Premium |
|---|---|---|---|
| 5,000 minutes | $52 | $66.50 | $290 |
| 10,000 minutes (2×) | $82 | $116.50 | $290 |
| 50,000 minutes (10×) | $322 | $516.50 | $690 |
The first doubling adds $30 on GitHub, $50 on Bitbucket and $0 on GitLab Premium. GitLab’s higher seat price already covers 10,000 minutes. At 50,000 minutes it needs another 40,000. GitHub charges for each excess standard two-core Linux x64 minute, while Bitbucket sells the excess in blocks of 1,000. The price table below gives the allowances and rates behind all nine figures. GitHub runner pricing · Bitbucket billing · GitLab pricing
Delivery has its own meter. A team can test twenty revisions and deploy one release, or give every revision its own preview environment. The latter also pays for the life of each environment, its stored images and any metered traffic. To estimate your own increase, take last month’s billed runner minutes and count how many previews remained running after their pull requests closed. Those two numbers tell you more about the next bill than the size of the diff.
What each platform charges#
The price table records monthly US dollar list prices collected on 12 November 2026. The GitHub, GitLab and Bitbucket figures in the ten-person example were checked again on 26 November.
| Platform | Per user | CI included | More CI |
|---|---|---|---|
| GitHub | Team $4, Enterprise from $21. Free has no user cap | $12 (Free), $18 (Team) or $300 (Enterprise) of compute. $18 buys 3,000 standard two-core Linux x64 minutes | $0.006/min on that runner |
| GitLab.com | Premium $29, billed annually; Ultimate on request | 400 (Free), 10,000 (Premium) or 50,000 (Ultimate) minutes | $10 per 1,000 minutes |
| Bitbucket Cloud | Standard $3.65, Premium $8 | 50 (Free), 2,500 (Standard) or 3,500 (Premium) minutes | $10 per 1,000 minutes, not on Free |
| Azure DevOps | $6 after 5 free users | One job, 1,800 minutes, with an Azure subscription linked | $40 per hosted job, $15 per self-hosted job, unlimited minutes |
| AWS CodeCommit | $1 after 5 free active users | None; CodeBuild adds 100 minutes | $0.005 a CodeBuild minute |
| Google Secure Source Manager | $1,000 per instance, any number of users | None; builds run in Cloud Build | Cloud Build prices |
| Gitea Enterprise, self-hosted | $9.50, one-year commitment; Gitea itself is free | Own runners | Own hardware |
| SourceHut | $4, $8 or $12 per account; € in Europe, VAT extra | builds.sr.ht with a paid account | Within the plan |
| Codeberg | Free, donation-funded, open source only | Woodpecker CI on request | None to buy |
What does a team of ten actually pay?#
The workload is ten developers, private repositories and 5,000 billed Linux build minutes in a month. The example uses GitHub’s standard two-core x64 runner, standard-size Bitbucket steps, GitLab’s default compute factor and a small US East CodeBuild Linux EC2 instance. The minutes are a billing assumption. A real build may finish faster on one runner than another. Figures are in USD before tax and exclude storage overages.
| Setup | Per month | How it adds up |
|---|---|---|
| GitHub Team | $52 | 10 seats × $4, plus $12 for the 2,000 minutes beyond the included $18 |
| GitHub Team with Secret Protection, Code Security and Copilot Business | $732 | $52, plus 10 committers × ($19 + $30), plus 10 Copilot seats × $19 |
| GitLab Premium | $290 | 10 seats × $29; the 5,000 minutes fit into the 10,000 included |
| Bitbucket Standard | $66.50 | 10 seats × $3.65, plus three blocks of 1,000 minutes beyond the 2,500 included |
| Azure DevOps Basic | $70 | 5 free users, 5 × $6, plus one Microsoft-hosted parallel job at $40 |
| AWS CodeCommit with CodeBuild | $30.50 | 6 paid active users × $1, plus 4,900 build minutes × $0.005 |
| Google Secure Source Manager | $1,000 plus builds | One instance, any number of users |
The AWS example includes eleven active identities. Ten developers and one distinct build role each access the repository that month. The CodeBuild estimate assumes the account receives the 100 eligible free build minutes. The Azure figure buys unlimited minutes on one hosted job. Extra builds queue behind it.
The $732 row buys a different bundle. Of that total, $40 pays for seats, $12 for extra runner time, $490 for security on ten active committers and $190 for Copilot Business. A team buying GitHub Team alone pays the $52 above. GitLab Premium’s $290 covers ten seats and the whole example workload. Google’s $1,000 flat fee breaks even with GitHub Team’s seat charge alone at 250 people, before either team runs a single build.
AWS has the lowest dollar total in this example. CodeCommit stores the code. The trigger, build service and container registry are separate, and the team maintains the connections. See the CodeCommit release setup.
What changes when coding agents open the pull requests?#
Continuous integration (CI) builds and tests each revision. Continuous delivery (CD) prepares an accepted revision for release. A coding agent can finish its edit while both the runner and the reviewer still have work ahead. The size of that queue depends on how the team configures its checks.
Put that on the same bill. Suppose agents open ten additional pull requests per working day. Each starts three five-minute jobs. Across twenty working days that is 3,000 additional runner minutes. Parallel jobs let the author get an answer in roughly five minutes while the meter records fifteen. Under the GitHub Team example the allowance is already used, so the extra compute costs $18 and the monthly bill rises from $52 to $70. The same increase takes the GitLab Premium example from 5,000 to 8,000 minutes, still inside its 10,000-minute allowance. These are worked examples. A test suite’s duration and the frequency of retries matter more than the number of lines an agent writes. GitHub runner rates · GitLab pricing
For a useful trial, take a change your team merged last week. Find the first revision, the last one and every CI run in between. Add the billed minutes for failed, cancelled and successful jobs. Then check the time between the last passing run and a person approving the release. If most of the wait is for a reviewer, buying faster runners will do little. If superseded revisions kept running the full suite, cancelling those runs can buy back capacity while the final revision still gets every required check.
There is a second question when choosing a harness. A terminal agent can edit a checkout and use Git with any of these hosts. Opening a pull request, reading its checks and replying to comments requires the host’s review interface and a credential with those permissions. On GitHub that may be the gh CLI. On Gerrit the unit of review is a change with numbered patch sets. Try asking your agent to find the failing check on a specific revision before giving it permission to push. Git workflow with AI agents · Reviewing a GitHub pull request
Which open-source GitHub alternative fits the way you work?#
Three ways to host the same Git repository produce quite different days for the person reviewing an agent’s work.
Gerrit is worth a look when reviewers spend hours rereading the same patch. An agent revises a change three times. The reviewer can compare patch sets two and three and keep the discussion attached to the same change. The team operates the review server, connects CI and decides which votes permit a merge. Follow a change through Gerrit.
OneDev suits a small team that already owns a build machine and wants a private forge. Its free Community Edition puts the failed test and the lines under review in the same pull request. Try converting one pipeline to OneDev’s build specification before deciding what a move would cost. Try a required check in OneDev.
Radicle is for maintainers who want copies of issues and patch discussions on their own machines, alongside the Git history. Peers can exchange updates without a central forge account. Arrange a seed that stays online when laptops sleep, and connect a separate CI executor if every patch needs a build. Follow a Radicle patch.
Two familiar choices cover other needs. Forgejo has the pull-request workflow many teams already know. The nine-repository Forgejo installation below shows what it took to run one, down to the backup size. SourceHut suits projects whose contributors send patches by email. Someone can send a fix without creating a forge account, while maintainers can use the hosted build service. The three paid tiers provide the same services. SourceHut pricing
Before moving a busy repository, move one closed change with a useful review discussion. A successful Git clone tells you the commits travelled. Finding the reviewer’s explanation, the exact revision it applied to and the result of its build tells you which history survives a move.
Where do teams host Git in China, India, Russia and Brazil?#
Imagine sending a fix to the right codebase and waiting for a review that never comes. A project can publish identical commits on two sites while its maintainers read pull requests on only one. The host also determines who can buy build minutes and where a runner sends its logs.
China. To fix a package in openEuler, the Linux operating system, start on AtomGit. The old Gitee package repositories carry a migration notice. The current contribution guide sends pull requests to AtomGit. Teams buying GitLab in mainland China also face a distinction that matters for CI. JiHu operates GitLab.cn separately from GitLab.com, with its own infrastructure and data. Check which service your team uses before connecting a runner or a coding agent. openEuler contribution guide · Gitee migration notice · GitLab’s JiHu FAQ
India. A government customer may specify the host before a supplier writes a line of code. India’s 2021 government website innovation challenge required shortlisted teams to submit their prototype code and documentation through OpenForge. A GitHub link alone would not meet that requirement. The Ministry of Electronics and IT also identifies DigiLocker as a project using OpenForge for day-to-day development. A supplier planning CI for this kind of work should ask where build logs and artifacts may go as well as where the source must live. Challenge submission rules · Ministry annual report, pp. 35–36
Russia. A public repository can be readable even when a team cannot buy the commercial plan it wants. In 2022, GitLab announced that it had suspended new business in Russia and Belarus. One local option for a Russian team budgeting in rubles is Yandex SourceCraft. Its free plan includes 1,000 CI/CD minutes a month. A team moving from GitHub can import pull requests and comments once. Subsequent syncs mirror the selected branches. Choose where the next review will happen before turning on the mirror. GitLab’s sales announcement · SourceCraft plans and migration details
Brazil. For SAPL, the software Brazilian legislative houses use to track bills and votes, GitHub is the straightforward choice for a contributor. Interlegis maintains a public GitHub repository with issues and pull requests. Its own Brazilian government domain hosts a Gitea copy explicitly marked as a mirror of that repository. Both offer the code. Send the patch to the GitHub project where the review takes place. SAPL on GitHub · Interlegis Gitea mirror
Before buying seats for a distributed team, try one change from a developer’s normal connection. Have the agent open a review, let a runner build with an empty dependency cache, and ask a maintainer to find the result on that exact commit. Record the minutes billed and the time until the reviewer can act. Those two figures tell you what the hosting choice costs each time an agent proposes another change.
What did GitHub’s 2026 security incidents mean for a buyer?#
In May, GitHub reported that a malicious third-party editor extension on an employee device led to the theft of internal repositories. GitHub said it had found no evidence that customers’ own repositories were accessed. It rotated the key used to sign GitHub Enterprise Server binaries as a precaution. A company running its own Enterprise Server had an update to act on even though the original compromise happened at the vendor. For a team putting an agent in an editor, the immediate question is which repositories the credential on that workstation can read. GitHub’s investigation and signing-key notice
September brought a different problem. GitHub Enterprise Server 3.21.5 fixed CVE-2026-19118, a vulnerability that could let a user with write access to a repository execute code on the server. That matters when agent accounts are allowed to push. In November, six vulnerabilities were fixed in Git itself. GitHub deployed those upstream fixes on its hosted services and released patched Enterprise Server builds. Moving to another Git host still leaves the Git copies in runners and development machines to maintain. September Enterprise Server release notes · November Git security update
Ask whoever operates a candidate platform to trace one release. Which identity pushed the change? Which revision did CI verify? Who could approve deployment, and who would patch the runner image if Git shipped a fix tonight? The answers show which part of the subscription buys an operational service and which part remains the team’s responsibility.
Why does a GitHub bill grow past the seat price?#
Three mechanisms put the cost into lines the seat price doesn’t show.
GitHub lists an included compute amount for each plan. Team’s $18 buys 3,000 minutes on the standard two-core Linux x64 runner. At $0.062 per minute, the same amount buys about 290 minutes on a standard macOS runner. That difference matters for an app whose release needs builds on both operating systems. Included usage · Runner prices
AI review now draws on the same budget. Since 1 June 2026, every Copilot code review on a private repository consumes Actions minutes from the included allowance, and anything beyond it is billed at standard Actions rates. A team that turns on automatic review for every pull request spends part of its build allowance on it. Public repositories are not affected.
GitHub postponed a proposed Actions charge for self-hosted runners. Running jobs on company hardware saves the hosted runner fee, while the team pays for the machine and its upkeep. GitHub’s pricing update
Which source code platforms are free?#
Five is the common free limit: GitLab allows 5 users per top-level group with private projects, Bitbucket and Azure DevOps 5 users, AWS CodeCommit 5 active users, who share 50 GB and 10,000 git requests a month. SourceHut requires a paid account for builds but leaves paying for git hosting optional during its alpha. GitHub Free has no user cap and unlimited private repositories, with $12 of CI a month for them; standard hosted runners in public repositories cost nothing.
Codeberg hosts free and open-source projects on donation-funded infrastructure. Its terms limit private repositories to materials needed for those projects. A company looking for a host for proprietary application code should budget for a commercial service or its own forge. Codeberg FAQ
GitHub Codespaces is billed apart from all of this: a 2-core machine costs $0.18 an hour, plus $0.07 per GB-month of storage.
What does a private GitHub repository pay for that a public one gets free?#
On GitHub, visibility works like a price tier. In a public repository, standard hosted runners cost nothing, and code scanning, secret scanning alerts, push protection and dependency review are free. In a private repository, the same minutes draw on the paid allowance, and the same scanning is sold as Secret Protection at $19 and Code Security at $30 per active committer: $490 of the $732 in the team-of-ten bill above. Release controls follow the same line. On Free, Pro and Team, required reviewers on a deployment environment “are only available for public repositories”, and artifact attestations, signed records of where and how a build output was made, need Enterprise Cloud in a private repository.
The release setup of the open source project behind this site sits on exactly that line. Development happens in a private monorepo, and the public repository moves only by release: each commit on it is one release’s complete tree, each tag is signed and carries the release notes, and CI builds the binaries from the tag, writes checksums and attests provenance. The write-up of that setup, AI Killed Git Commits, asks GitHub for a “release drop” repository mode and lists pieces the platform already has: immutable releases, build attestations, environments with required reviewers. Below Enterprise, attestations and required reviewers both work only in public repositories.
The write-up gives a different reason for the split: on a tree that agents write, the intermediate commits “stopped carrying information worth publishing”. Nor does the split make CI free. “There is no public CI”: the tests run before the drop, on the private side, and cost whatever CI costs there. What that history looked like is in Git workflow with AI agents.
Is self-hosting GitLab or Forgejo free?#
The licence is. GitLab’s Community Edition and the Free features of its Enterprise Edition cost nothing, Gitea is MIT-licensed, and Forgejo is GPL v3 or later since version 9. What remains is a machine, upgrades, backups and somewhere for CI to run, and each project’s docs set the size of each.
What does GitLab need?#
GitLab’s requirements page sets a single-node baseline of 8 vCPU and 16 GB of memory, says “GitLab can run with at least 8 GB of memory” in constrained environments, and advises to “Disable swap where possible”. A separate guide for memory-constrained environments describes a much smaller install: “Minimum 2 GB of RAM + 1 GB of SWAP”, one CPU core, for “up to 5 developers with individual Git repositories no larger than 100 MB”. The small install exists, but on terms the main requirements page advises against.
The Linux package bundles PostgreSQL, Redis and Sidekiq, so one package installs and upgrades everything. Upgrades are the cost that never shows at install time. GitLab has required upgrade stops at x.2, x.5, x.8 and x.11 since 17.5, and each stop’s background migrations must finish before the next. A server left a year behind climbs through every stop in between.
The backup trap: sudo gitlab-backup create writes one archive with the database, repositories, LFS objects and uploads, and leaves the configuration files out. /etc/gitlab/gitlab-secrets.json and /etc/gitlab/gitlab.rb need their own copy, kept apart on purpose: “Storing encrypted information in the same location as its key defeats the purpose”.
What about GitLab on Kubernetes?#
The official Helm chart installs with two commands:
helm repo add gitlab https://charts.gitlab.io/
helm upgrade --install gitlab gitlab/gitlab \
--timeout 600s \
--set global.hosts.domain=example.com \
--set global.hosts.externalIP=10.10.10.10 \
--set certmanager-issuer.email=me@example.com
The commands are short; the cluster isn’t. The chart docs ask for “at least 8 vCPU and 30 GB of RAM”, with an example configuration for a 3 vCPU, 12 GB cluster meant for non-production use. And Kubernetes doesn’t make GitLab self-contained; it moves the stateful parts out: “External PostgreSQL, Redis, and object storage are required.” Gitaly, the service that stores the repositories, has run in Kubernetes as generally available since GitLab 18.11, and the docs call it “a single point of failure service”: rotating its pod interrupts service. The chart also has its own version numbers, so chart 10.5.6 installs GitLab 19.5.5, and the upgrade stops above still apply.
A capacity check of a small home cluster, recorded on 15 October 2026, shows what that floor means on modest hardware. Three k3s nodes ran as VMs on one machine with four cores and about 15 GiB of RAM. The two workers offered 5.80 GiB of allocatable memory together, with 1.2 to 1.3 GiB free on each, and “a single pod cannot combine the two nodes’ memory”. The cluster’s Longhorn storage placed both of its replica disks on the same host and the same physical data disk, so a second replica could not have survived a disk failure. The same record noted that GitLab’s constrained minimum of 8 GB did not fit the worker allocation; the chart’s 30 GB is five times the cluster’s entire allocatable memory. The cluster was deleted on 26 October 2026.
What does a small Forgejo setup look like?#
The home lab ran Gogs on a VM, then on k3s, and tried Forgejo on the cluster before settling on Forgejo on a plain VM. The last setup is small enough to show in full.
The VM has 2 cores, 4 GB of RAM and a 250 GB disk, runs Ubuntu 22.04, and holds nine repositories. Forgejo 17.0.1 and PostgreSQL 18.6 run in Docker Compose with both images pinned by tag and digest, installed by an Ansible role. Trimmed to what matters:
name: forgejo
services:
forgejo:
image: codeberg.org/forgejo/forgejo:17.0.1@sha256:fcd19ff4ebc85fb098a67e8e1d0d5a84d07dd6e8a23edcfdfd5b71a6178953be
depends_on:
- db
env_file:
- /etc/forgejo/forgejo.env
- /etc/forgejo/mail.env
environment:
FORGEJO__database__DB_TYPE: postgres
FORGEJO__database__HOST: "db:5432"
FORGEJO__server__ROOT_URL: "https://git.example.com/"
FORGEJO__server__SSH_PORT: "22"
FORGEJO__server__LFS_START_SERVER: "true"
FORGEJO__service__DISABLE_REGISTRATION: "true"
FORGEJO__service__REQUIRE_SIGNIN_VIEW: "true"
FORGEJO__repository__DEFAULT_PRIVATE: private
FORGEJO__actions__ENABLED: "true"
ports:
- "3000:3000"
- "2222:22"
restart: unless-stopped
volumes:
- /var/lib/forgejo/data:/data
db:
image: docker.io/library/postgres:18.6@sha256:edb0c08dc33befd0262ab3b5cf1c4f3f8cfd8b09e88c05b45adee29d6761ddb6
env_file:
- /etc/forgejo/db.env
environment:
POSTGRES_DB: forgejo
POSTGRES_USER: forgejo
restart: unless-stopped
volumes:
- /var/lib/forgejo/postgres:/var/lib/postgresql
The database password, secret key, internal token and JWT secret are generated on the server on first run and live only in root-owned env files there. Registration is off, every page needs a sign-in, and new repositories are private.
Forgejo was the easy part. The home connection takes no public web or git traffic directly; HTTPS and git over SSH both enter through a rented VPS. The SSH path:
Internet :22 → VPS (HAProxy, TCP) → WireGuard tunnel → home gateway → VM :2222 (Forgejo's SSH)
Self-hosted still meant renting a server. Through that path, a 205 MB push with 683 tags took 87 seconds.
Backups run nightly at 03:30 from a systemd timer and keep seven days:
stamp=$(date +%Y%m%d-%H%M%S)
compose="docker compose -f /opt/forgejo/compose.yml"
$compose exec -T -u git forgejo forgejo dump --config /data/gitea/conf/app.ini \
--tempdir /tmp --type tar.gz --skip-log --skip-index --skip-repo-archives \
--file - > "/var/backups/forgejo/forgejo-dump-$stamp.tar.gz"
$compose exec -T db pg_dump -U forgejo -Fc forgejo > "/var/backups/forgejo/forgejo-db-$stamp.dump"
The test run produced a 432 MB dump with all nine repositories and a 2 MB database dump whose pg_restore --list showed 131 tables. Two gaps remain. The backups stay on the same VM, so one dead disk takes the forge and every copy of it. And Forgejo’s backup guide recommends no specific tool and calls it “strongly recommended to shut down Forgejo during a backup”, which this setup doesn’t do: it trades a consistent snapshot for a forge that never goes offline at night.
Upgrades come on a schedule here too. Forgejo ships a stable release every quarter and supports it for “three months, plus a two week window”; 17.0.1 reaches end of life on 28 January 2027. The yearly LTS release, currently 15.0.11, is supported until 15 July 2027. With images pinned by digest, every upgrade is a deliberate edit, and on the stable line that edit is due every quarter.
Where does CI run on a self-hosted forge?#
FORGEJO__actions__ENABLED is on in that file, and no job has ever run, because no runner is registered. “Forgejo does not run the jobs, it relies on the Forgejo Runner”, which is installed and configured separately.
The runner is the part the docs warn about. Forgejo’s security page says runners’ “entire purpose is to perform remote code execution”, that the host label runs jobs “in the same host without any isolation”, and that a runner registered site-wide “can run a job in any repository”. GitLab’s runner docs say privileged mode means “effectively disabling all the container’s security mechanisms” and put privileged runners “only on isolated and ephemeral virtual machines”.
So a safe runner needs machines of its own, ideally a fresh one per job. That is exactly what the hosted platforms price per minute. A self-hosted forge doesn’t make CI free; it makes isolating CI the team’s job.
Is AWS CodeCommit still available?#
Yes. After closing CodeCommit to new customers in July 2024, AWS reopened sign-ups in November 2025. The announcement also listed Git LFS on its roadmap. For a repository that relies on large files, include an LFS push and a fresh clone in the migration trial. AWS announcement · CodeCommit pricing
Access works three ways: an SSH key attached to an IAM user, static HTTPS git credentials generated in IAM, or git-remote-codecommit for federated and temporary credentials. For SSH, the IAM console shows an SSH key ID after the public key is uploaded, and that ID goes into ~/.ssh/config as the user:
Host git-codecommit.*.amazonaws.com
User APKAEIBAERJR2EXAMPLE
IdentityFile ~/.ssh/codecommit_rsa
What does a CodeCommit setup look like?#
One web app’s release pipeline, in Terraform. The repository, and a push-only IAM user whose policy reaches that one repository and nothing else:
variable "git_ssh_public_key" {
type = string
}
resource "aws_codecommit_repository" "app" {
repository_name = "app"
default_branch = "main"
lifecycle {
prevent_destroy = true
}
}
resource "aws_iam_user" "git" {
name = "git"
}
resource "aws_iam_user_ssh_key" "git" {
username = aws_iam_user.git.name
encoding = "SSH"
public_key = var.git_ssh_public_key
}
resource "aws_iam_user_policy" "git" {
name = "app-push"
user = aws_iam_user.git.name
policy = jsonencode({
Version = "2012-10-17"
Statement = [{
Effect = "Allow"
Action = ["codecommit:GitPull", "codecommit:GitPush"]
Resource = aws_codecommit_repository.app.arn
}]
})
}
A release starts when a tag beginning with v is pushed. On GitHub that is on: push: tags: ['v*'] in a workflow file. On AWS it is an EventBridge rule:
resource "aws_cloudwatch_event_rule" "release_tag" {
name = "app-release-tag"
event_pattern = jsonencode({
source = ["aws.codecommit"]
"detail-type" = ["CodeCommit Repository State Change"]
resources = [aws_codecommit_repository.app.arn]
detail = {
event = ["referenceCreated"]
referenceType = ["tag"]
referenceName = [{ prefix = "v" }]
}
})
}
Behind that rule sit eight more resources: the rule’s target, an IAM role and policy that let EventBridge start the build, the CodeBuild project with its own role and policy, and an ECR repository with a policy for the image. The build’s first command checks that it is building the tag it was started for, test "$CODEBUILD_SOURCE_VERSION" = "refs/tags/$TAG". Every part is cheap, and every part is the team’s to maintain.
That repository is also a mirror. The team’s origin fetches from a self-hosted forge and pushes to both:
git remote set-url --add --push origin https://git.example.com/team/app.git
git remote set-url --add --push origin ssh://git-codecommit.us-east-1.amazonaws.com/v1/repos/app
Both lines are needed. Once a remote has push URLs, “Pushing to a remote affects all defined pushurls”, so the forge’s own URL has to be added back as one of them or pushes stop reaching it.
What about Google Cloud and Azure?#
Google Secure Source Manager is “a regionally deployed, single-tenant managed source code repository”. Each instance costs $1,000 a month “regardless of users per instance”, in 11 regions including europe-west2, europe-west4, me-west1 and me-central2. Builds run through Cloud Build triggers or webhooks. The pricing page also mentions licensed-user pricing with “details below” that the page doesn’t contain.
Azure Repos comes with every Azure DevOps Basic user: unlimited private Git repositories, the first five users free. Public projects are being retired: announced in April 2026, and in 2027 the remaining public projects convert to private, with their unlimited free pipeline minutes cut to 1,800.
Forgejo or Gitea?#
Forgejo started as a soft fork of Gitea and became a hard fork in early 2024, saying that being a drop-in replacement “will no longer be guaranteed”. Moving from Gitea still works from the last version before the split, v1.21.5. The licences diverged in August 2024: Forgejo releases from v9.0 are GPL v3 or later, while Gitea stays MIT. The company behind Gitea sells Gitea Enterprise at $9.50 per user a month with a one-year commitment, and a hosted Gitea Cloud whose prices sit behind a sign-in.
For a team that only needs to run the forge, either works. For a company that plans to modify and redistribute it, the licence is the difference.
Related guides#
Git workflow with AI agents: branches, worktrees and undo once agents push codeGit workflow with AI agents: branches, worktrees and undoA git workflow with AI agents: start clean, one branch per task, commit checkpoints, undo safely, and run agents in parallel with worktrees. Commands to copy.
How to sandbox an AI coding agent: the isolation question CI runners raise, for agentsHow to sandbox an AI coding agent: Claude Code, Codex, OpenCodeHow to sandbox an AI coding agent so a mistake, a prompt injection or a poisoned package can't reach your keys: built-in sandboxes, containers, and the traps.
How to keep secrets away from AI agents: what a build or an agent can readHow to keep secrets away from AI agents (and out of git)How to keep secrets away from AI agents: block .env reads in Claude Code, OpenCode and Codex, stop keys leaking through commands, and what to do if one leaked.
AI coding costs: the AI side of a development billAI coding costs: why agents burn tokens and how to cut itAI coding costs explained: why one agent session can send hundreds of millions of tokens, what sessions really cost, and the habits that cut the bill.
AI coding subscription comparison: Copilot next to the other coding plansAI coding subscription comparison: which plan works whereAI coding subscription comparison: ChatGPT, Claude, Copilot, Cursor, Google, GLM, Kimi, MiniMax and OpenCode Go, the tools each plan works in and how limits work.
GitHub pull request reviewReview a GitHub pull request in Contenox HarnessConnect a Git remote to one workspace, review a private pull request with an agent, and choose which findings to publish on GitHub.
Review AI-written codeHow to review AI-written code: what to check, in orderHow to review AI-written code: read the diff, not the summary, then check scope, tests, invented APIs and error handling. Git commands and a checklist to copy.
Gerrit Code Review: follow a change across patch sets · ContenoxSee how Gerrit tracks successive versions of a change, what reviewers can compare and where a CI vote fits. Try it on a public review before setting up a server.
OneDev: private Git hosting with CI in the pull request · ContenoxTry a OneDev pull request with a required test. See what the free Community Edition includes, which machine runs the build and what changes when a test fails.
RadicleRadicle: peer-to-peer Git hosting for code and patch reviews · ContenoxRead a Radicle patch, compare its revisions and see what a seed node and a CI broker do. A practical look at peer-to-peer Git hosting for maintainers.