Getting Started
Quick Start
Get up and running with Coregit in under 5 minutes.
Using an AI coding agent? Skip the manual setup — see the Agent Onboarding guide to sign up, verify, and get an API key entirely from the terminal.
1. Create an Account
Sign up at platform.coregit.dev and create your organization.
2. Generate an API Key
Navigate to Dashboard → API Keys and create a new key. Copy it — you'll only see it once.
3. Create a Repository
curl -X POST https://api.coregit.dev/v1/repos \
-H "x-api-key: cgk_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"slug": "hello-world", "visibility": "private"}'4. Commit Files
curl -X POST https://api.coregit.dev/v1/repos/hello-world/commits \
-H "x-api-key: cgk_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"branch": "main",
"message": "Add README",
"changes": [
{"path": "README.md", "content": "# Hello from Coregit"}
]
}'5. Clone with Git
git clone https://your-org:cgk_live_YOUR_KEY@api.coregit.dev/your-org/hello-world.gitThat's it! You now have a Git repository managed entirely through the API.