Show HN: Giti – Natural Language to Git Commands with Local LLM

Show HN (score: 5)
Found: July 22, 2025
ID: 442

Description

CLI Tool
Show HN: Giti – Natural Language to Git Commands with Local LLM Hi HN,

I built Giti, a command-line tool that converts plain English into actual Git commands using a fast, local language model (Qwen2.5-Coder, ~1 GB).

Example:

Input: giti "undo last commit"

Output: git reset --soft HEAD~1

No internet required after setup. No API keys. You can also run it in an interactive shell to chain commands naturally.

Key features: - Natural language to Git translation - Local LLM powered by Qwen2.5-Coder in GGUF format - Works fully offline after model download - Dry-run mode to preview commands before running - Interactive shell mode for session-based workflows - Context file support to teach Giti your custom Git habits

Quick install: - Clone the repo - Install llama-cpp-python - Add giti to your PATH - Download the 1GB model from HuggingFace - Run giti "your query."

You can also enhance its accuracy using context files in a simple Q&A format like:

USER: How to start new feature? BOT: git checkout main && git pull && git checkout -b feature/<name>

This lets Giti learn your workflow and generate project-specific Git commands.

Thanks for checking it out.

More from Show

Show HN: SmokeVPN – All-in-One WireGuard VPN Hub – Switch Exits in Realtime

Show HN: SmokeVPN – All-in-One WireGuard VPN Hub – Switch Exits in Realtime I have started developing a prototype of a WireGuard VPN hub, where I could set a custom exit to a specific device, for example, my TV box would use a VPN in Germany, while my desktop a VPN is Serbia and I could switch the exit in realtime without having to stop the VPN connections and consequently no disconnections (ssh, etc).<p>The project grew, and I ended up adding SOCKS5 and HTTP proxy, Tor exits, exit pools, random exits, timed exits, and exits&#x2F;routes based on domains or IP addresses. I also added an in-house DNS with several default block lists (malware, gambling, social media, etc.)<p>I found this project to have potential and decided to commercialize it, Smoke VPN was born.<p>The logs live entirely on the RAM, and I plan to open-source the full stack as soon as I get feedback from real users, people like you...<p>Can you please try the project for free for 7 days or 50 GB (whichever comes first)?<p>You don&#x27;t need an account, email or password and you can add up to 10 devices.<p>Real feedback is truly welcome!

No other tools from this source yet.