Pgit
A Git-like CLI backed by PostgreSQL
Details
- External ID
- 47409222
- Source
- HN
- Company
- —
- Product
- Pgit
- Website domain
- oseifert.ch
- Launched
- March 17, 2026
- Cohort
- —
- Upvotes
- 126
- Upvotes percentile
- 0.9298892988929889
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Enrichment
- Theme
- developer tools and programming utilities
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- git-like version control backed by postgresql
- Manually corrected
- False
Could you build this?
Partial Mapping the Git content-addressable storage model (blobs, trees, commits, refs) into relational PostgreSQL tables with a custom CLI is feasible, but handling Git diffing, merges, and packfile formats adds significant complexity.
What it would actually take: Building a functional Git CLI backed by Postgres requires modeling git objects (trees, commits, blobs) as Postgres relational tables and implementing the plumbing commands (write-tree, commit-tree, cat-file) as well as porcelain (status, commit, log, branch). The hardest components are three-way merge algorithms, binary diff computation, and ensuring transactional atomicity across simulated index/staging areas.
Discussion
20 comments analyzed.
Competitors mentioned: Fossil - alternative VCS with SQL backend, gitgres - Git history in Postgres, Gerrit - code review server, snkvin - SQLite key-value store
Concerns raised: Storage size not actually better than Git's compression, Delta compression slows down SQLite implementation, Large repo imports very slow (3+ hours for Linux kernel), Marketing emphasizes compression benefits that aren't primary value, Monorepo CI/CD cloning still slow without FUSE mount
Feature requests: FUSE filesystem mount for on-demand file fetching in CI, SQLite backend for small-medium repos instead of Postgres, Server-side branches and changesets for concurrent access, Multi-layer caching beyond in-memory to reduce RAM usage, Faster import performance for large repositories
Competitors
Other products that read as similar to this one — 763 launches clear the similarity bar, closest 8 shown.
Attention rank: #55 of 764 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 137 days after the earliest competitor.
- Pgcraft · hn · 2026-05-26 · 6 upvotes · similarity 0.68
- Commitdog · hn · 2026-03-02 · 5 upvotes · similarity 0.62
- Learn by rebuilding Redis, Git, a database from scratch · hn · 2026-07-11 · 200 upvotes · similarity 0.61
- livediff · github · 2026-09-15 · 9 upvotes · similarity 0.61
- Forgejo Appliance, a private Git server based on OrbStack and Tailscale · hn · 2026-07-01 · 7 upvotes · similarity 0.61
- harbor-db · github · 2026-09-14 · 7 upvotes · similarity 0.60
- skipper · github · 2026-09-22 · 19 upvotes · similarity 0.60
- Pglite-oxide · hn · 2026-04-27 · 5 upvotes · similarity 0.59
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.