Coregit reimplements Git's object model in TypeScript and runs on Cloudflare Workers as a serverless edge Git API.
Its commit endpoint accepts up to 1,000 file changes per request and replaces 105+ GitHub calls with one. Yes - one.
It acknowledges writes in Durable Objects (~2ms), then flushes objects to R2. It caches objects by SHA-1. Embeddings live in KV.
This edge-native, session-first model reframes repo I/O for AI agents. It favors content-addressed caching over REST workflows, cutting auth complexity and latency.









