Command Line Interface

v2.4.0
.git cli — local dev
$ git dx init --framework next
→ Scaffolding project structure... → Installing dependencies... → Linking to remote workspace... ✓ Ready in 1.2s
$ git dx dev --hot --tunnel
→ Starting dev server on :3000 → Opening encrypted tunnel: https://dx-7f3a.git.dev → Hot module replacement enabled
$ git dx deploy --prod --auto-rollback
→ Building optimized production bundle... → Running security scan... (0 vulnerabilities) → Deploying to edge nodes... ✓ Live: https://app.git.dev (24ms TTFB)

Client & Server SDKs

@git/sdk

Server Runtime

Zero-config Node.js adapter with native ESM support, edge-compatible, and auto-scaling.

npm i @git/sdk v14+ LTS

Browser Client

Lightweight WebSocket bridge for real-time sync, optimistic UI updates, and offline-first caching.

<8kb gzipped TypeScript
import { GitClient, sync } from '@git/sdk'; const client = new GitClient({ env: 'prod' }); await client.push('main', { autoReview: true }); const preview = await sync.createBranch('feat/checkout'); console.log(preview.url); // https://feat-checkout.git.dev

Python SDK

Async-first Python library with full type hinting, FastAPI/Flask integrations, and automatic dependency resolution.

pip install git-dx-sdk import git_dx async with git_dx.Client() as client: await client.deploy('v2.1.0', target='us-east-1')

Go Module

High-performance Go client with context-aware retries, connection pooling, and native gRPC fallback.

go get gitlab.com/git/sdk-go client := gitdx.New(os.Getenv("GIT_TOKEN")) res, err := client.CreatePreview(ctx, &gitdx.PreviewReq{...})

Rust Crate

Zero-allocation async SDK with tokio runtime support, feature flags, and compile-time API validation.

[dependencies] git-dx = "2.4" let client = GitClient::new(&config); let status = client.health().await?;

REST & GraphQL

Full API specification available. GraphQL subscriptions for real-time deployment streams and event-driven workflows.

POST https://api.git.dev/v1/deployments Authorization: Bearer $GIT_TOKEN Content-Type: application/json { "ref": "main", "env": "production", "flags": ["auto-scale", "canary"] }
\n

Development Workflow

local → edge
📝
Commit
Git hook triggers auto-linting & type check
🔨
Build
Parallelized CI artifact caching
👁️
Preview
Isolated env auto-review links
🚀
Deploy
Zero-downtime edge distribution
📊
Observe
Distributed tracing real-time metrics

Debugging & Telemetry

observability

Local Tunneling

Expose localhost to production environments securely. Automatic protocol detection (HTTP/2, WebSocket, gRPC).

Latency 4.2ms
Encryption TLS 1.3

Distributed Tracing

OpenTelemetry native. Follow requests from edge CDN through serverless functions to databases.

Trace ID 8f3a2c...d91e
Span Depth 14 hops

Error Boundaries

Graceful degradation with stack trace capture, source maps auto-upload, and Slack/Teams alerting.

Crash Rate 0.02%
MTTR 8.4s

Hot Reload & State Sync

Preserve application state during restarts. WebSocket delta patching for sub-50ms update cycles.

Reload Time 28ms
State Integrity 100%

Contribute & Feedback

community

🐛 Report Issues

Use our structured templates to report bugs. Include repro steps, logs, and environment details.

GitHub Issues →

🧪 Beta Access

Opt into nightly builds and preview features. Direct line to core engineering via Discord.

Join Beta →

📖 Improve Docs

All DX documentation is version-controlled. Submit PRs to fix typos, add examples, or expand guides.

Docs Repo →