---
title: "Inside GitHub’s new Git storage architecture"
description: "GitHub's new Git storage architecture, Rubicon, rests on one observation: only reference updates need ordering."
url: "https://swe.quest/articles/inside-github-s-new-git-storage-architecture-014a8644555e81c8"
canonical: "https://github.blog/engineering/architecture-optimization/inside-githubs-new-git-storage-architecture/"
source: "GitHub Engineering"
published: "2026-11-05"
difficulty: "hard"
kind: "Case study"
reading_minutes: 15
tags: ["version-control","storage-systems","distributed-systems","scalability","replication"]
---

# Inside GitHub’s new Git storage architecture

A post on [GitHub Engineering](https://swe.quest/sources/github.md), published 2026-11-05, 15 min read, Case study. Original: [https://github.blog/engineering/architecture-optimization/inside-githubs-new-git-storage-architecture/](https://github.blog/engineering/architecture-optimization/inside-githubs-new-git-storage-architecture/)

## Summary

GitHub's new Git storage architecture, Rubicon, rests on one observation: only reference updates need ordering. Git objects go to Azure Blob Storage, and refs plus the pack manifest go to a small quorum-replicated compare-and-swap log called Ref-CAS. Disposable virtual replicas serve reads and writes from a rebuildable cache, while separate lease-based compaction nodes merge packs in the background, so storage, serving and maintenance scale independently. Ref-CAS replaced blob-based ref logs, which topped out at the mid-hundreds of writes per second or traded away read latency. It reaches tens of thousands of ref operations per second, and internal tests sustained 7,200 pushes per second from 5,000 concurrent agents on one repository.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Version control](https://swe.quest/tags/version-control.md) (Engineering practices)
- [Storage systems](https://swe.quest/tags/storage-systems.md) (Infrastructure)
- [Distributed systems](https://swe.quest/tags/distributed-systems.md) (Distributed systems)
- [Scaling](https://swe.quest/tags/scalability.md) (Distributed systems)
- [Replication](https://swe.quest/tags/replication.md) (Distributed systems)

## Prerequisites

- Git packfiles and references
- quorum replication ([easy posts on Replication](https://swe.quest/tags/replication.md?difficulty=easy))
- object storage conditional writes ([easy posts on Storage systems](https://swe.quest/tags/storage-systems.md?difficulty=easy))

## Keywords

GitHub, Rubicon, Ref-CAS, Azure Blob Storage, Spokes, Git

## Related posts

- [Building Git infrastructure for agent-scale development](https://swe.quest/articles/building-git-infrastructure-for-agent-scale-development-3f8b84d59639a2ff.md): GitHub Engineering · 2026-10-06 · Easy · 8 min read · Version control, Distributed systems, Scaling, Replication, Storage systems
  GitHub is rebuilding its Git storage layer because agent-driven workloads are colliding with the design of Spokes.
- [The bridge to agent-scale Git infrastructure](https://swe.quest/articles/the-bridge-to-agent-scale-git-infrastructure-d844fd2db4fef4f7.md): GitHub Engineering · 2026-10-21 · Medium · 7 min read · Replication, Distributed systems, Scaling, Version control, Storage systems
  GitHub has moved nearly all Git repositories to replicas split between its own data centers and Azure.
- [Scaling Git at OpenAI](https://swe.quest/articles/scaling-git-at-openai-cd141be9cdce804b.md): OpenAI · 2026-11-02 · Hard · 24 min read · Version control, Distributed systems, Consistency models, Scaling, Storage systems
  Pando is OpenAI's new Git backend for its monorepo, built to handle the concurrent pushes and fetches generated by Codex-driven parallel development while staying fully compatible with the Git protocol and client.
- [Session revocations at scale](https://swe.quest/articles/session-revocations-at-scale-0e845eb64b268c30.md): Canva Engineering · 2026-07-22 · Medium · 9 min read · Identity & auth, Caching, Scaling, System design, Storage systems
  Canva moved its gateway session-revocation cache from per-pod MySQL loads to sorted binary chunks in S3, eliminating the database stampede when hundreds of gateway pods started during deploys.
- [Migrating the Hub from Git LFS to Xet](https://swe.quest/articles/migrating-the-hub-from-git-lfs-to-xet-20a0038190c32d42.md): Hugging Face · 2025-07-15 · Medium · 9 min read · Storage systems, Schema migrations, Scaling, ML platforms
  Hugging Face moved 500,000 repositories and about 20 PB from Git LFS to its Xet content-addressed storage with almost no user disruption.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
