GitHub's engineering team has publicly reviewed a ground-up rewrite: a single project can produce 1,000+ commits and tens of thousands of fetches per day—dozens of times the peak activity of human developers. The traditional Git protocol, designed for "human pace," is breaking down across its transport, storage, and permission chains. They've broken the core Git path into four layers and rebuilt it, introducing a new transport protocol and a two-dimensional permission model for agents for the first time. This isn't performance optimization—it's a protocol replacement.
AI Coworkers Arrive, and GitHub Chokes First
Agents are writing thousands of commits a day, and GitHub's old backend can't keep up—so they're replacing their own core engine.
Once AI agents like Copilot Workspace enter real projects, repository commit frequency jumps by orders of magnitude: a single project can produce 1,000+ commits and tens of thousands of fetches per day—dozens of times the peak activity of human developers.
GitHub's engineering team found that every layer of the existing Git backend—from transport protocol and object storage to permission checks—was designed for "human pace" and started timing out, queuing, and dropping packets at scale.
GitHub therefore launched a ground-up rewrite codenamed "Agent-scale," aimed at replacing the core Git path of GitHub.com wholesale. The breakdown of which three layers are being rewritten follows below.
Four Layers at Once: Protocol, Storage, Permissions, and API All Rebuilt
GitHub didn't patch the old system—they split the Git infrastructure into four layers and operated on all of them simultaneously.
Start with transport. In the old protocol, every round of "here's what objects I can offer" required multiple handshakes, and agent workflows can trigger that negotiation thousands of times per minute—the handshake itself becomes the overhead. GitHub replaced the original Git wire protocol(Git's fixed format for sending data over the network, like HTTP is for the web) with one that supports batch reference negotiation: the client declares all needed references in one go, and the server returns only the missing deltas.
Then storage. Git stores objects as whole-file snapshots with delta compression, so the flood of commits agents generate rewrites and re-stores the same files until repositories bloat. GitHub switched to a columnar storage layout, physically clustering multiple versions of the same file and compressing by column—cutting single-repo size by an order of magnitude.
Permissions were next. Old Git access control works at the granularity of "the whole repository": once you're in, you can touch every file and run every command. That's fine for humans, who have already cleared PR review and branch protection before entering.
Agents haven't. An agent process might get a temporary task like "only modify src/api/," and it needs a finer boundary. GitHub switched to a two-dimensional ACL based on path and agent identity: who, which path, on which branch, and whether human approval is required—all four validated simultaneously.
The outermost layer is the API. Old REST/GraphQL interfaces defaulted to "return the entire repository in one shot": the client sends a request, waits for the server to assemble all metadata, and gets it back in one go. Agents don't need a whole-repo view—they need "the few files I'm about to modify." GitHub changed the outermost layer to streaming response: the server pushes as it prepares, so agents can start working without waiting for the whole repo to download.
1,000 Commits and It Can't Keep Up—the Bottleneck Isn't Hardware, It's the Protocol
The outside world thinks the AI era needs more GPUs and bigger models—GitHub's engineering review says the opposite: what really chokes the system is a Git protocol born twenty years ago for human reading.
The field observations GitHub's engineering team disclosed this time are blunt: when they investigated performance bottlenecks, CPU, memory, and network all had headroom left. What was slowing the system down was fields in the Git protocol optimized for humans—hundreds of data points agents never use, but that still have to be fully received and fully parsed.
Line-by-line diffs (code differences compared line by line) are a typical example. When humans review code, they need to see "what this line was changed to" to understand the author's intent; agents can determine whether to pull an old version from just a file-level hash(computing any content into a fixed-length unique fingerprint; identical content always produces the same fingerprint) alone. Agents don't read diffs, but diffs are still transmitted locally with every pull, then parsed, then discarded. The reflog (a running record of every branch pointer movement) works the same way: humans use it to trace "where did I point HEAD three days ago," while agents only ask whether a commit object exists and whether its signature verifies. The protocol pushes these fields indiscriminately, and agents pay transmission and parsing costs for semantics they don't need.
GitHub's engineering team put this observation plainly in their review: agents don't care about the semantic shell humans need when writing code, but the protocol welded that shell into the transport format. Strip it away, and the throughput release doesn't come from more compute—it comes from the protocol finally serving only its real users.
That's also why this round of rewriting is positioned internally at GitHub as a "protocol replacement" rather than performance optimization—they even project that within 18 months, the primary author of most repositories will be agents.
18 Months: The Author at the Top of the Repo Switches from Keyboard to Model
GitHub has set a time anchor for this rewrite: within the next 18 months, the primary author of most mainstream repositories will no longer be human developers but agents—human roles will narrow to review and architectural decisions.
In day-to-day terms, when you open a commit list today, you see names like Alice, Bob, Carol. In the next few years, the byline will become the ID of some agent instance, with human usernames occasionally appearing in the Approve column.
What this prediction really changes is the subject of Git. GitHub's official documentation defines Git as "a version control system (VCS) that tracks the history of changes made by people and teams as they collaborate on projects"—the subject is "people and teams."
Once the subject becomes agents, Git is no longer just a tool for recording the history of human collaboration—it must evolve into a collaboration bus for agents: transport, authentication, auditing, and rollback all need to be redesigned for high-frequency machine-to-machine interaction. This also explains why GitHub is simultaneously operating on the transport protocol, object storage, and permission ACL layers—not patching, but swapping out the underlying assumption.
What signals can verify this direction is taking hold? There are at least three observable indicators:
- Whether the share of agent-generated commits in mainstream open-source projects continues to rise and reaches a "1,000+ per day" level as a steady state in some repos.
- Whether GitHub's new Git infrastructure ships on schedule and opens up to third-party repos—if it's only used on its own repos, the platform-level bet loses credibility.
- Whether "humans only review" in the pull request workflow becomes the default in leading projects.
If two out of three signals materialize, the direction is basically validated; if none materialize, the 18-month anchor needs recalibration.
How to Read This Game: Watch GitHub's Next Move
GitHub is both player and referee. Once the new protocol ships, the only real test of whether it's all talk will be whether the agents running on top actually get faster and whether collaboration actually doesn't break.
Rewriting the Git backend isn't a technical upgrade for GitHub—it's staking its claim to the collaboration-hub position. GitHub itself frames this as a platform-level bet: after the underlying replacement, it won't just be a "Git repository host"—it wants to become the only viable collaboration hub when agents write code.
To judge whether it can win, the question isn't how fast the new protocol ships—it's how cleanly the API(the interface channel through which agents call the platform) compatibility is handled.
For most readers, there's nothing hands-on to do right now. GitHub hasn't provided a public beta, new protocol documentation, or a migration timeline. Other third-party platforms haven't announced any move to follow suit—nobody will replicate this rewrite—it happened inside GitHub's own data centers.
Subscribe to GitHub's blog Engineering channel—the first wave of rewrite details will appear there first.
Watch GitHub Universe announcements and the Changelog(product update log)—the new protocol's name and API shape will surface there first.
If you normally push code over SSH/HTTPS: keep an eye on when old paths are marked deprecated and plan your migration in advance.
Watch whether peer platforms (GitLab, Bitbucket) make any move to follow suit; if none do, the protocol replacement only holds inside GitHub.
The numbers and assessments above are all from GitHub unilaterally, with no independent third-party replication.
Source: GitHub Blog, "Building Git infrastructure for agent-scale development." Scope note: This article is a first-hand technical disclosure from GitHub's official engineering team about their own backend overhaul. In essence, it is the platform's own external explanation of its architecture—relatively neutral in stance, but still a vendor's account.