Instead of using git as a database, what if you used database as a git?

https://nesbitt.io/2026/02/26/git-in-postgres.html

Git in Postgres

Instead of using git as a database, what if you used a database as a git?

Andrew Nesbitt
@andrewnez does forgejo really fork out to run the git binary? Why would it not just use libgit 😨
CGo · Issue #5142 · go-gitea/gitea

Does this project require CGo? Does it use libgit2 under the covers? Or just integrate with an existing standalone git service that is already running on host.

GitHub
@andrewnez I guess it's an unverified assumption but it feels like that's wasting a whole bunch of CPU cycles for no reason 😕