Your own Github Genie | 1.7k+ downloads

Meet GitGenie Git Genie

Your AI-powered Git assistant — automate
origins 

with just one command.
npm i @gunjanghate/git-genie
🔮 GitGenie 🔮

┌─────────────────┐ ✨ AI-Powered Git ✨ Smart Commit Magic └─────────────────┘
Ready to code!

$$$$$$\ $$$$$$\ $$ __$$\ $$ __$$\ $$ / \__|$$ / \__| $$ |$$$$\ $$ |$$$$\ $$ | \_$$ |$$ |\_$$ | $$ | $$ |$$ | $$ | \$$$$$$ |\$$$$$$ | \______/ \______/
GitGenie - Powered git assistant | Product Hunt

Features

One command.

Stage, commit, push, and merge in one go.

AI commit messages.

Uses AI (Gemini) for Conventional Commits.

Custom flags.

Control with --genie, --staged, and more.

How it works

Three steps with clean defaults. Use flags to tailor your flow.

  1. Step 1Install

    Install Globally or Root of the project .

    npm install -g @gunjanghate/git-genie
  2. Step 2Configure AI (once)

    Saves key to ~/.gitgenie/config.json so --genie can generate commits.

    gg config YOUR_GEMINI_API_KEY
  3. Step 3Commit with AI

    Auto stages (if needed), builds Conventional Commit via Gemini, commits.

    gg "add user profile section" --type feat --scope ui --genie
  4. Step 4Push / Merge

    Either accept push prompts or auto merge to main & push in one go.

    gg "finish oauth flow" --push-to-main

Watch a quick demo

See how to stage, generate a Conventional Commit with AI, and push in one command.

Usage & Flags

Configure Git Genie behavior with clean, human-friendly flags.

Branch Management Shortcuts

Manage your branches effortlessly with these shortcuts.

gg b <branchName>Create and switch to a new branch.
Shortcut for git checkout -b <branchName>
gg b feature/login
gg s <branchName>Switch to an existing branch.
Shortcut for git checkout <branchName>
gg s main
gg wt <branchName> [path] [start]Create a worktree for a branch.
Auto-creates branch if missing, optionally specify path and start-point.
gg wt feature/docs ./docs main

Join the community.

Contribute to Git Genie's development, share feedback, and connect with fellow developers.

Contribute

Help improve Git Genie by contributing code, documentation, or translations.

Feedback

Share your ideas, feature requests, and help shape the future of Git Genie.

Support

Get help from the community and help others with their Git workflows.