karandevhub

karandevhub / sgit

Public

Semantic Git history search using natural language. Fast, offline, no APIs, built on Rust.

14
0
100% credibility
Found May 03, 2026 at 14 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

Sgit is an offline tool for searching Git commit histories using natural language queries via a local AI embedding model.

How It Works

1
📰 Discover sgit

You hear about a helpful tool that lets you find old code changes by simply describing what you need in everyday words.

2
📥 Get it on your computer

Follow a simple one-line instruction to download and set it up quickly on Mac, Linux, or Windows.

3
📂 Open your project folder

Go into any folder holding your project's change history.

4
Teach it your history

Run a quick prepare command once to let it learn all your past changes—it feels fast and builds a personal search guide.

5
Ask plain questions

Type natural sentences like 'where did we fix the login?' and feel the magic of understanding your intent.

6
🔧 Set auto-updates

Optionally add a helper that keeps your search guide fresh after every new change.

Find anything easily

You now effortlessly uncover exactly the commits you need, saving hours of hunting through old logs.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 14 to 14 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is sgit?

sgit lets you search git history with natural language queries like "where did we fix the login timeout?" instead of regex grep patterns. Built in Rust, it indexes commit messages offline using a local embedding model and SQLite, delivering results in ~20ms even on 10,000 commits. Run `sgit index` once per repo, then `sgit log "query"` with filters for author, date, or scores—no APIs or cloud needed.

Why is it gaining traction?

Unlike git log --grep, sgit grasps semantic meaning, linking "login session expired" to "fix auth timeout" commits, perfect for github semantic commit messages or semantic git branch names. It auto-updates via post-commit hooks, supports semantic versioning history dives, and offers github semantic search without services like semantic kernel or semantic release actions. Developers hook it for instant, private repo insights amid rising github semantic search demand.

Who should use this?

Solo maintainers auditing old repos for bugs, teams enforcing semantic git commit messages on github, or open-source contributors tracing features in large histories. Ideal for backend devs chasing "database performance" changes or frontend folks hunting UI permission tweaks, especially in offline workflows avoiding github semantic segmentation tools.

Verdict

Worth a spin for semantic git history needs—excellent installers, CLI, and docs make it dead simple despite 10 stars and 1.0% credibility score signaling early maturity. Test on a real repo; contribute if it clicks, as it's polished but unproven at scale.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.