ProGit: The Definitive Platform Educational Masterclass
A comprehensive engineering walkthrough of the zero-CGO sovereign Git platform: internals, deployment, administration, 24/7 operations, 18,000+ RPS performance, and 80% TCO savings.
Direct Bare Repository Architecture
How ProGit interacts directly with Git bare repositories on disk without heavy virtualization layers or CGO bindings.
CGO_ENABLED=0 into a single standalone static binary. No dynamic libc dependencies, preventing binary segfaults./data/repositories/{owner}/{repo}.git with separate .wiki.git stores.proc_unix.go), guaranteeing complete child process cleanup upon request timeout./data/repositories/
└── perfadmin/
│ └── microservice-auth.git/
│ │ └── HEAD # ref: refs/heads/main
│ │ └── config # bare = true, gc.autoDetach=false
│ │ └── objects/ # Loose SHA-1 & packfiles
│ │ └── refs/ # branches, tags, heads
│ │ ┌── hooks/ # internal pre/post hooks
│ ┌── microservice-auth.wiki.git/ # Dedicated wiki store
┌── enterprise-org/
┌── core-platform.git/
Git Smart HTTP & Native SSH Daemon
High-speed wire protocol implementation supporting concurrent clone, fetch, and push over TLS and SSH.
GET /owner/repo.git/info/refs?service=git-upload-pack streams framed packet-lines directly from the bare repository with zero buffering.POST /owner/repo.git/git-upload-pack (clone/fetch) and git-receive-pack (push) pipe standard streams through authenticated HTTP Basic credentials or tokens.can_download = false.golang.org/x/crypto/ssh. Does not touch host /etc/ssh, preventing port 22 conflicts and host key tampering.git-upload-pack, git-receive-pack, and git-upload-archive with strict path sanitization.git clone https://git.company.com/engineering/backend-service.git
git clone ssh://git@git.company.com:2222/engineering/backend-service.git
Branches, Default Branch Settings & Protections
Granular branch orchestration: global default branch policies, per-repo overrides, and branch protection rules.
main, trunk, dev) in Admin Configuration, with per-repository overrides dynamically updating HEAD on disk via git symbolic-ref.
git push --force).
git blame with direct commit attribution.
Zero-Friction Web Installation Wizard
Install, provision, and lock ProGit in under 60 seconds with an interactive web GUI or automated silent setup.
/installINSTALL_LOCK = true into app.ini and seals the installer permanently against replay attacks.ENV PROGIT_APP_NAME="Corporate Git"
ENV PROGIT_DOMAIN="git.internal.net"
ENV PROGIT_ROOT_URL="https://git.internal.net:3443/"
ENV PROGIT_HTTPS_PORT=3443
ENV PROGIT_SSH_PORT=2222
ENV PROGIT_INSTALL_LOCK=true
INSTALL_LOCK = true is set or any user exists, GET /api/v1/install/status reports locked and POST /api/v1/install unconditionally returns 403 Forbidden, preventing hostile admin takeover.
Single-Command Podman & Docker Deployment
Production-ready rootless container runtime with isolated volume persistence, SELinux support, and multi-arch OCI images.
podman run -d --name progit \
--restart unless-stopped \
-p 3000:3000 -p 3443:3443 -p 2222:2222 \
-v progit-data:/data/db:Z \
-v progit-repositories:/data/repositories:Z \
-v progit-config:/data/config:Z \
-v progit-logs:/data/logs:Z \
localhost/progit:1.7.0
• 3443: Pure-Go TLS HTTPS server
• 2222: Native SSH Git transport
:Z)/data/db: SQLite WAL database•
/data/repositories: Bare Git stores•
/data/config: TLS certs & app.ini•
/data/logs: Audit & runtime logs
tini PID 1 zombie reaper, Git CLI, and non-root progit:progit user (UID 1000).
Pure-Go Native HTTPS & Zero-Trust Hardening
Zero external Nginx or certbot dependencies: built-in ECDSA TLS auto-generation, ACME, and defense-in-depth protections.
/data/config/https/. If absent, generates an ECDSA certificate in 5 milliseconds.ENABLE_ACME = true for automated TLS provisioning & renewal on public domains.progit (1000:1000) with no root capabilities required.repo, user, admin).Super Administration & Access Governance
Granular identity management, code exfiltration prevention, and per-user creation quotas.
• Standard Users: Scoped strictly to authorized organizations and personal repositories.
• Suspended Accounts: Instant session termination and token revocation.
can_download: false per user. Contractors can read code in the web browser, but are blocked from:
• Raw file downloads (403)
• Repository forking (403)
•
git clone & git pull via HTTP/SSH
max_repo_creation: Cap repos owned by user (e.g. 5, or -1 for global).•
max_org_creation: Cap orgs created.• Super Admins bypass quotas automatically.
curl -X PATCH "https://git.company.com/api/v1/admin/users/42" \
-H "Authorization: Bearer <ADMIN_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"can_download": false, "max_repo_creation": 3}'
Global Admin Repository Search & Filtering
Search across all repositories in the instance, filter by visibility and archive status, and bypass the legacy 100-repo cap.
GET /api/v1/admin/repos?q=... queries across repository name, owner username, owner/name, description, and default branch with SQL wildcard escaping.limit=500) and search smoothly.visibility parameter supporting:
all: Complete instance view•
public: Public open-source repos•
private: Proprietary private repos•
archived: Read-only locked repos•
active: Active non-archived repos
curl -X GET "https://git.company.com/api/v1/admin/repos?q=billing&visibility=private&limit=100" \
-H "Authorization: Bearer <ADMIN_TOKEN>"
The Git Management Dashboard
Live Git CLI engine telemetry, bare storage metrics, object-store inspector, and safe administrative maintenance.
GET /api/v1/admin/git/repos/{id}:
• Loose object count & loose size (KB)
• In-pack objects & packfile count
• Prune-packable objects & garbage files
• Wiki repository disk size
POST /api/v1/admin/git/maintenance:
gc: Runs git gc --prune=now to repack & prune.•
repack: Runs git repack -a -d.•
fsck: Verifies SHA integrity with git fsck --no-dangling.•
gc_all: Sequentially garbage-collects all repositories.
SQLite WAL Mode & Database Maintenance
Concurrent read/write architecture, zero-locking transactional write-ahead logs, and online VACUUM defragmentation.
progit.db-wal before checkpoints commit them back to the main database pages.Executes
PRAGMA wal_checkpoint(TRUNCATE) to flush pending write buffers and truncate the WAL journal to 0 bytes without locking.
Executes SQLite
VACUUM to rebuild the database file, defragment B-tree pages, and reclaim disk space from deleted users/repos.
curl -X POST "https://git.company.com/api/v1/admin/maintenance" \
-H "Authorization: Bearer <ADMIN_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"operation": "checkpoint_wal"}'
24/7 Operations, Backup & Disaster Recovery
Simple, foolproof disaster recovery: snapshot 3 directories, zero database corruption risks, and automated health checks.
checkpoint_wal via API or cron to ensure zero unflushed WAL frames./api/health): Verifies SQLite DB ping, bare repository storage directory accessibility, uptime, and version. Returns 200 OK or 503./api/ready): Instant Kubernetes probe returning 200 OK once HTTP routers are bound.localhost/progit:1.7.0), stop old container, start new container pointing to same volumes.Enterprise Use Cases & Sovereign Engineering
From air-gapped defense labs to high-velocity software engineering teams: where ProGit delivers sovereign superiority.
Built-in Developer Toolbox (/toolbox)
11 zero-overhead developer utilities with instant ⌘K search, Favorites, and two-level lazy code-splitting.
• JWT Debugger: Header, payload & expiry decode.
• Hash & HMAC: SHA-256/512, MD5, Keccak.
• JSON Formatter: Prettify, minify, validate.
• XML & YAML: Format & YAML-JSON convert.
• Cron Parser: Human schedule + next 5 runs.
• Text Diff: Side-by-side unified comparison.
• Rate Limited: 30 req/min per user.
• Concurrency Cap: 8-slot worker gate.
/toolbox landing hub and each individual tool chunk load strictly on-demand via dynamic imports. Developers browsing code, repositories, or issues pay 0 KB extra bundle size. Dropdowns use ProGit's custom ThemedSelect component without card clipping.
Projects, Wikis, ProGit Pages & Direct Messaging
A full-featured developer platform: Kanban boards, static site hosting, and secure internal communication.
.wiki.git Git repository. Markdown editing in UI or cloneable locally via standard Git./pages/{owner}/{repo}/ with owner-only toggles.Verified Benchmark: 18,000+ API Requests/Sec
Rigorous local container benchmark results on ProGit v1.7.0 under high concurrency across 7,440 requests (0 errors).
| API Endpoint | Requests | Concurrency | Throughput | p50 Latency | p95 Latency | p99 Latency |
|---|---|---|---|---|---|---|
GET /api/health |
2,000 | 50 | 17,945.7 req/s | 1.97 ms | 8.64 ms | 12.86 ms |
GET / (Embedded SPA Bundle) |
1,000 | 30 | 18,352.2 req/s | 1.59 ms | 2.51 ms | 3.00 ms |
GET /api/v1/features |
1,500 | 40 | 21,775.8 req/s | 1.72 ms | 3.15 ms | 3.95 ms |
GET /api/v1/explore (150 repos) |
800 | 25 | 3,774.1 req/s | 4.34 ms | 19.12 ms | 28.93 ms |
GET /api/v1/admin/repos?q=... |
500 | 20 | 2,012.9 req/s | 9.25 ms | 20.03 ms | 26.10 ms |
GET /api/v1/admin/repos?visibility=private |
400 | 20 | 3,477.5 req/s | 4.16 ms | 13.71 ms | 17.75 ms |
GET /api/v1/admin/git (150 bare scan) |
40 | 4 | 198.8 req/s | 19.98 ms | 21.41 ms | 22.48 ms |
Git Operations Speed & 45 MB RAM Footprint
Compare ProGit's featherweight memory consumption against monolithic enterprise Git platforms.
git gc --prune=now execution across 150 bare repositories on disk in the Git Management Dashboard.
| Platform | Idle Memory | Under Full Load | Database Daemon | Architecture Stack |
|---|---|---|---|---|
| ProGit (v1.7.0) | 3.8 MB | 45 MB peak | Embedded SQLite WAL | Single static Go binary |
| Gitea / Forgejo | 120 MB | 350 – 600 MB | External / Embedded | Go + CGO / Node assets |
| GitLab CE / EE | 4,000 MB (4 GB) | 8,000 – 16,000 MB | PostgreSQL + Redis | Ruby on Rails, Puma, Sidekiq, Gitaly |
Interactive 3-Year TCO & ROI Calculator
See how switching to ProGit saves between 75% and 85% in software licensing and cloud compute costs.
• GitLab Ultimate: $99 / user / month
• ProGit Open Source: $0 / user (Sovereign Forever)
• ProGit Enterprise: $6 / user / month
Transparent Editions & Enterprise Scalability
100% free Sovereign Open Source Edition alongside Enterprise Edition with High-Availability clustering and SSO.
Get Started with ProGit in 30 Seconds
Join the sovereign Git movement: ultra-fast, zero-CGO, lightweight, and completely under your own control.
podman run -d --name progit -p 3000:3000 -p 3443:3443 -p 2222:2222 \
-v progit-data:/data/db:Z -v progit-repositories:/data/repositories:Z \
localhost/progit:1.7.0
# 2. Open in your browser to complete the wizard
open https://localhost:3443/install