---
title: "Scaling Git at OpenAI"
description: "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."
url: "https://swe.quest/articles/scaling-git-at-openai-cd141be9cdce804b"
canonical: "https://openai.com/index/scaling-git-at-openai"
source: "OpenAI"
published: "2026-11-02"
difficulty: "hard"
kind: "Case study"
reading_minutes: 24
tags: ["version-control","distributed-systems","consistency","scalability","storage-systems"]
---

# Scaling Git at OpenAI

A post on [OpenAI](https://swe.quest/sources/openai.md), published 2026-11-02, 24 min read, Case study. Original: [https://openai.com/index/scaling-git-at-openai](https://openai.com/index/scaling-git-at-openai)

## Summary

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. Each branch is coordinated independently: incoming packs are stored as immutable blobs and ref versions are recorded in a horizontally scalable metadata store. This gives per-ref serializability but only causal consistency across the repository. Packfiles are reused across fetches rather than generated per client, trading some redundant bytes for far less server CPU and I/O. Compared with three-phase-commit replicas and a shared-manifest WAL in blob storage, Pando avoids a single write ordering point, and in production it cut median push latency nearly 5x while serving close to a petabyte of Git data per day.

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)
- [Distributed systems](https://swe.quest/tags/distributed-systems.md) (Distributed systems)
- [Consistency models](https://swe.quest/tags/consistency.md) (Distributed systems)
- [Scaling](https://swe.quest/tags/scalability.md) (Distributed systems)
- [Storage systems](https://swe.quest/tags/storage-systems.md) (Infrastructure)

## Prerequisites

- Git object model and packfiles
- Git fetch/push protocol
- consistency models ([easy posts on Consistency models](https://swe.quest/tags/consistency.md?difficulty=easy))
- distributed replication basics ([easy posts on Replication](https://swe.quest/tags/replication.md?difficulty=easy))

## Keywords

Pando, Git, Codex, packfiles, three-phase commit, write-ahead log, causal consistency

## Related posts

- [Redesigning source control at Anthropic](https://swe.quest/articles/redesigning-source-control-at-anthropic-ecdbb37746353304.md): Anthropic Engineering · 2026-10-13 · Medium · 17 min read · Version control, System design, Caching, Scaling, AI for coding
  Anthropic replaced git with Scion, an in-house centralized version control system, after its monorepo grew past what git mirrors could serve.
- [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.
- [Inside GitHub’s new Git storage architecture](https://swe.quest/articles/inside-github-s-new-git-storage-architecture-014a8644555e81c8.md): GitHub Engineering · 2026-11-05 · Hard · 15 min read · Version control, Storage systems, Distributed systems, Scaling, Replication
  GitHub's new Git storage architecture, Rubicon, rests on one observation: only reference updates need ordering.
- [20× the CI traffic without getting slower: How we rebuilt Git serving at Datadog](https://swe.quest/articles/20-the-ci-traffic-without-getting-slower-how-we-rebuilt-git-serving-at-datadog-9f7156670a81ca53.md): Datadog Engineering · 2026-08-19 · Medium · 13 min read · Version control, CI/CD, Scaling, Caching, Replication
  Datadog replaced CI fetches from a replicated Gitaly/Praefect cluster with gitretriever, a fleet of independent Git mirrors that poll GitHub per changed ref and fan packfiles out to autoscaled relays over a gRPC signaling stream plus HTTP.
- [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.

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)
