# pgit

Git CLI with Postgres backend.

Source: [Console review](<https://console.dev/tools/pgit>)

Website: [https://oseifert.ch/blog/building-pgit](<https://oseifert.ch/blog/building-pgit>)

Profile updated: 2026-10-16

Category: [Git tools](<https://console.dev/tools/categories/developer-tools-git-tools>)

## Supported tech stack

Research checked: 2026-10-11

### Runs on

- Linux (Operating system)
- Windows (Operating system)
- macOS (Operating system)

### Integrates with

- Docker (Integration)
- Git (Integration)
- Podman (Integration)
- PostgreSQL (Integration)

### Written in

- Go (Language)

Source: [Research source](<https://github.com/ImGajeed76/pgit>)

Documented compatibility; coverage may be incomplete. Written in describes implementation, not user-project language support.

Upstream Go installation command and Linux, macOS and Windows release binaries; PostgreSQL storage, Git import, and Docker or Podman for its local database.

## Console’s review — 2026-03-19

Reviewed: 2026-03-19

Author: [David Mytton](<https://console.dev/about#david-mytton>)

Citation: [This review](<https://console.dev/tools/pgit#review_92715874af8e657a61ddc65cbb4ad8f7dd214a629a5c295060e5ed03b1f5418b>)

### What we like

Git compatible CLI, but everything is stored in Postgres rather than on disk. Makes all commits queryable. Everything is delta compressed for efficiency. Makes it easy to query for repo stats like size trends or churn detection. Full text search across the history.

### Tradeoffs

Requires Postgres, obviously.

This review reflects Console’s assessment at publication on 2026-03-19. Features and limitations may have changed since the review date.

## Is pgit a fit?

Based on [Console’s review published on 2026-03-19](<https://console.dev/tools/pgit#review_92715874af8e657a61ddc65cbb4ad8f7dd214a629a5c295060e5ed03b1f5418b>).

Summary updated: 2026-10-16

### Who it’s for

Developers using Git and Postgres can consider pgit

### Why consider it

pgit makes all commits queryable

### Keep in mind

pgit requires a Postgres backend

[Selection criteria](<https://console.dev/selection-criteria>) · [About Console](<https://console.dev/about>) · [Browse tools](<https://console.dev/tools>)
