Serverless Git for
AI-native products

Spin up thousands of repositories on demand. Commit, branch, diff, and snapshot — all via API. Pay only for what you use. Zero containers, zero ops.

terminal
$ curl api.coregit.dev/v1/repos/my-app/commits
  -X POST -d '{"branch":"main","message":"Add login","changes":[...]}'

// Commit created. No git client needed.
Pay-per-use
Standard Git protocol
Sub-50ms latency
REST + Git HTTP

The problem

Git wasn't built for machines.

Your AI agent generates code — but shipping it to a repo means spawning containers, installing git, managing SSH keys, and handling merge conflicts. That's infrastructure you shouldn't have to build.

No containers

Stop spinning up Docker just to run git commit. Every operation is a single API call.

No git binary

Create commits, branches, and diffs over REST. Your agent never touches a CLI.

No cold starts

Repos spin up in milliseconds on Cloudflare's edge. Sub-50ms latency, globally.

How it works

Three API calls. That's it.

1

Create a repo

POST /v1/repos { "slug": "my-app" }
2

Commit files

POST /v1/repos/my-app/commits
{ "branch": "main", "message": "Add login", "changes": [...] }
3

Branch, diff, snapshot — or just git clone

$ git clone https://api.coregit.dev/acme/my-app.git

Standard Git protocol. Works with any tool your team already uses.

Use cases

Built for AI product teams.

If your product generates, edits, or versions code — Coregit replaces the Git infrastructure you'd otherwise build yourself.

AI coding agents

Your agent writes code in a sandbox. Coregit commits it to a branch, diffs it against main, and lets users merge — no git binary in the container.

Code generation platforms

Give each user their own repo. Thousands of repos, all via API. Snapshot before every generation, restore if it breaks.

Version-controlled content

CMS entries, config files, design tokens — anything that needs history, branching, and diffing without a full Git hosting platform.

Multi-tenant SaaS

Isolate each customer's data in their own repo. Built-in org scoping, API keys with RBAC, and per-tenant usage tracking.

Under the hood

Everything you need. Nothing you don't.

REST + Git HTTP

Full REST API for programmatic access. Standard Git Smart HTTP for clone, push, pull.

API commits

Create commits over HTTP — add, modify, delete files in a single request. No git client needed.

Snapshots

Named restore points. Save state before risky operations, roll back with one call.

Org & API keys

Multi-tenant by default. Create orgs, invite members, issue scoped API keys with rate limits.

Pay-per-use

No fixed plans. Pay for repos, storage, API calls, and transfer. Free tier included.

Edge-native

Runs on Cloudflare Workers + R2. Global by default, no region to choose.

Pricing

Start free. Scale with usage.

No commitments. No seat licenses. Pay for what your agents actually use.

Free

For prototyping and side projects

$0

Free forever

Get started
5 repositories
1 GB storage
10,000 API calls / month
5 GB Git transfer / month
REST API + Git Smart HTTP
Community support

Usage

Pay only for what you use

Pay-as-you-go

Starting from $0.50 / repo / month

Get API key

Everything in Free, plus:

Unlimited repositories
$0.10 / GB storage / month
$0.50 / 1,000 API calls
$0.10 / GB Git transfer
Snapshots & restore points
Org management & RBAC
Scoped API keys with rate limits
Usage dashboard & alerts

Enterprise

For teams at scale

Custom

Volume discounts available

Contact us

Everything in Usage, plus:

Volume pricing
SSO / SAML
Dedicated support & SLA
Webhooks for push & lifecycle events
Custom rate limits
Spending caps per org

FAQ

Common questions

GitHub and GitLab are built for humans — pull requests, code review, CI/CD. Coregit is built for machines. There's no UI to manage. You create repos, commit files, branch, and diff entirely through an API. Think of it as S3 for Git repos.

Yes. Every Coregit repo is accessible via Git Smart HTTP protocol. Use any standard Git client to clone, push, and pull. API keys authenticate via HTTP Basic auth.

We'll notify you before any charges. Usage beyond the free tier is billed at pay-as-you-go rates. No surprises — you can set spending caps and alerts on your dashboard.

Git objects are stored on Cloudflare R2 (globally replicated). Metadata lives in a dedicated Neon Postgres database. Your data is isolated per organization — no shared tenancy.

No. The entire API is HTTP-based. Use curl, fetch, or any HTTP client. We'll also ship an official TypeScript SDK (@coregit/sdk) for typed access to all endpoints.

POST a list of file changes (add, modify, delete) to the commits endpoint. Coregit builds the Git tree, creates blob and commit objects, and updates the branch ref — all server-side. Your agent never needs a git binary.

Start shipping with Coregit.

Free tier. No credit card. Get your API key in 30 seconds.