How GitHub Is Rebuilding Its Git Storage for the Age of AI Agents

AI agents commit and push after almost every step, and that traffic broke the scaling assumptions underneath GitHub. The company is rebuilding its Git storage around two ideas: coordinate only what needs agreement, and separate storage from compute.

Published

Updated

Read time

5 min

Cover for 'How GitHub is rebuilding its Git storage for AI agents': 7.38 billion commits in one month, 3.35 billion pushes, and up to 35 times the write throughput

GitHub recently published a blog post explaining that it is rebuilding the system that stores all of its Git repositories, and the reason is AI agents. Not models, not features: the storage layer underneath every repository on the platform. Here is what is breaking, and how GitHub plans to fix it.

The Scale of the Problem

In September, developers and agents made 7.38 billion commits on GitHub, more than five times as many as a year earlier. Pushes grew by almost the same factor, reaching 3.35 billion a month. Merged pull requests are at nearly four times last year's volume, and GitHub Actions logged 3.26 billion runs in September alone.

These are not numbers a system designed around human working rhythms absorbs by accident. They are what happens when the "developer" on the other end of a push is a loop.

GitHub traffic in September: 7.38 billion commits, 3.35 billion pushes, 3.26 billion Actions runs, and merged pull requests at nearly four times last year's volume

What a Push Actually Does

Git stores two kinds of things:

  • Objects are every file, folder, and commit. Each is named by a hash of its content, and once written, an object never changes.
  • Refs are names that point to a commit. A branch like main is just a ref, and it changes all the time.

A push therefore does two things: it uploads the new objects, then moves the ref (for example, main) to the new commit.

What Agents Change

A person might push a few times a day. An agent working in a loop can push after almost every step, so the time one push takes becomes the agent's speed limit. As GitHub's Brian Celenza puts it, an agent commits or checkpoints after nearly every action, and waits for each push to finish before continuing.

In the largest repositories, GitHub says thousands of agents can be working at once, each on its own branch. All of those writes land in the same place in GitHub's system. When the work is merged, it goes through a merge queue into main, so every merge competes to move the same ref.

Each push also triggers thousands of reads. CI and code scanning fetch the same commit thousands of times a minute. Reads like these are easy to scale with copies and caches. Writes are the hard part, because every push has to be saved safely and seen the same way by everyone.

How GitHub Stores Repositories Today

The current system is called Spokes. It keeps a full copy of every repository on five file servers, and reads are spread across those copies. When a push moves a ref, a coordinator asks the copies to agree, and a majority (three out of five) must say yes.

The trouble is that these copies do two jobs: they keep the data safe, and they serve the reads. When a busy repository needs more read capacity, GitHub adds another full copy. But every copy takes part in every write, and a write waits for the slowest copy. More copies therefore means slower writes, which creates a ceiling for the busiest repositories. In Celenza's words: "Every replica participates in every write, so a push is only as fast as the slowest replica in its set."

GitHub's answer is to separate the two jobs, keeping data safe and serving traffic, using two main ideas.

Idea One: Coordinate Only What Needs Agreement

Today, a push saves the objects, checks them, and scans for leaked secrets in a single coordinated step, and only then moves the ref. But only the ref update actually needs the copies to agree. As things stand, a second push has to wait for the whole of the first.

In the new design, the heavy steps run in parallel, so pushes only queue for that one small step. This matters most for main, where every merge waits for the one before it. If moving the ref takes 300 milliseconds, main can handle about three merges a second. At 10 milliseconds, it can handle about 100. Making that single step faster speeds up every merge.

Idea Two: Separate Storage From Compute

The second idea is to split storage, where the data lives, from compute, the machines that answer requests.

The authoritative copy of each repository moves to Azure Blob Storage, which keeps it safe and replicated and becomes the single source of truth. Reads are served by lightweight workers layered on top, each keeping a cache of the data it serves.

When CI fetches the same commit thousands of times, the workers answer and the push does no extra work. If a worker fails, nothing is lost. It is simply a cache miss, and a new worker fills its cache from storage.

The Results

In GitHub's internal benchmarks, the new design handles up to 35 times more write throughput. GitHub says the next post in the series will go deeper into the new architecture, and it will be worth covering once it is out.

The Takeaway

Two principles stand out: keep the part that needs agreement as small as possible, and don't make the copies that keep your data safe do the serving as well.

What It Means for the Rest of Us

You are not running GitHub's storage layer, but if you run agents against your own repositories, the same physics apply at your scale. The agents in question are the AI coding tools themselves, and Claude Code, Cursor and GitHub Copilot solve different problems, so which one you pick shapes how your agent works. Commit frequency is a load decision: an agent that pushes after every step multiplies CI runs, review notifications, and merge contention exactly the way it multiplied GitHub's. Batching agent work into fewer, larger pushes, gating merges instead of every checkpoint, and keeping the coordination points in your own workflow (approvals, required checks, the merge itself) as small and fast as possible are the same two principles, applied to a team instead of a platform.

The infrastructure of software development was designed around humans who commit when they've finished thinking. Agents commit while they think. Everything downstream, storage, CI, review, is being rebuilt for that difference, starting, apparently, with GitHub itself.

Source: GitHub Engineering, Building Git infrastructure for agent-scale development, October 6, 2026.

Share this article

Newsletter

The NotVibesCoded Weekly

One email a week: the newest articles, project teardowns and AI-coding notes. No slop, no spam, unsubscribe anytime.

We will send a confirmation email. Click the link in it to finish subscribing.

Written by

NotVibesCoded Editorial Team

NotVibesCoded is written and reviewed by its editorial team under the standards in the editorial policy. A named author page, with full credentials, replaces this placeholder shortly.

More about the author

Related

Projects mentioned

AI Engineering

Claude Code logoClaude Code

Anthropic's agentic coding tool that works in your terminal.

Claude Code brought the agent loop to the command line: it reads your codebase, plans changes, runs commands, and iterates, with you directing, not typing. The reference implementation of terminal-native AI engineering.

TypeScript
Developer Tools

Aider logoAider

AI pair programming in your terminal, open source.

Aider is the open-source terminal chatbot for code: pair it with any frontier model, point it at your git repo, and it edits files with proper diffs and commit messages. The hacker's choice for agentic coding.

Python
Developer Tools

Zed logoZed

A next-generation code editor built for high-performance collaboration.

From the team behind Atom, Zed is a Rust editor that treats latency as a bug: GPU-rendered UI, multiplayer editing via CRDTs, and deep AI integration that doesn't get in the way.

Rust

Related

Related articles

AI Found Two Critical Flaws Hiding in PHP for a Decade

Two critical remote code execution flaws sat in PHP, the language behind roughly 70% of websites, for more than a decade. AI models helped researchers find them and turn them into working exploits, and the emergency patch that followed is a preview of how security works now.

By NotVibesCoded Editorial Team

Who maintains vibe-coded applications?

Generation made writing code nearly free. It did nothing to the cost of owning it. The first generation of AI-built apps is now old enough to need maintenance, and a lot of them have no maintainer, because nobody ever understood the code well enough to own it.

By NotVibesCoded Editorial Team