User Manual — Git AI Command Generator

User Manual

Git AI Command Generator  |  Last updated: November 20, 2026

Git AI Command Generator turns plain-language requests such as "undo my last commit but keep my changes" into safe, step-by-step Git commands, and explains what every command and option does. The app is BYOK (Bring Your Own Key): AI features use your own Gemini API key. Your history and API key stay on your device.

1. Getting Started

Step 1: Sign in with your Google account.

Step 2: Get a free Gemini API key from Google AI Studio.

Step 3: Open Settings (gear icon, top right), paste your key into the Gemini API Key field, and save.

Step 4: Describe what you want to do and press the generate button.

The Settings window also lets you switch the display language: Japanese, English, Chinese, Korean, or Spanish.

2. The Four Tabs

TabWhat it doesPlan
GeneratorTurns your request into Git commands with full explanations.Free
CatalogA searchable dictionary of 198 commands (173 Git commands and 25 GitHub CLI commands).Free
TroubleshooterDiagnoses a Git error message and gives causes, fix steps, and prevention tips.Pro
ConceptsIllustrated guide to Working Tree, Index, Local Repository, and Remote Repository.Free

3. Generating Commands

  1. Type your request in the text box (any supported language). Press Ctrl/Cmd + Enter or the generate button.
  2. Or click one of the preset questions for an instant, verified answer.
  3. The result shows a risk label (safe / caution / danger), an overall purpose, and each step in order.
  4. For every step you get: the command (with a copy button), what it means, why it is needed, what to expect when it runs, a breakdown of each part, which zone it affects, and warnings.
  5. Ask follow-up questions such as "What if it fails?" or "How do I roll back?" below the result.
Zones: Working Tree (your files), Index (staging area), Local Repository (your commits), and Remote Repository (e.g., GitHub). Each step shows which of these it changes.

4. Command Catalog

  • Browse by category (Basic, Branch & Merge, History, Remote, Stash & Clean, Tags, Config & Admin, Plumbing, GitHub (gh)) or search by name or meaning.
  • Each entry shows the syntax, options with examples, internal behavior, preconditions, warnings, risk level, related commands, and practical use cases.
  • Use Send to Generator to turn an entry into a ready-to-run scenario.
  • Entries are shown in your selected language; entries without a prepared translation are translated by the AI using your key and cached on your device.

5. Error Troubleshooter (Pro)

Paste a Git error message (or choose a common error) and press the diagnose button. You receive the root cause, safe fix steps with full explanations, and tips to prevent it. Free users see a lock notice with an upgrade button; the feature is unlocked with the Pro plan.

6. Concepts & Diagrams

The Concepts tab explains how files move between the four zones and which commands move them, with an interactive lifecycle diagram.

7. History & Favorites

  • Every result is saved automatically in your browser (separately for each account). Open it from the History button.
  • Use the star to add a result to Favorites.
  • You can delete one item or clear all history (a confirmation is shown first).
  • You can export your history as a JSON or Markdown file from the History panel.
Important: Signing out removes this account's history and API key from this device. Export your history first if you want to keep it.

8. Gemini Live (Voice Assistant)

The Live button opens a movable widget where you can talk to an AI Git teacher in real time. Press the connect button, allow microphone access, and speak, or type a message. You can choose a voice, mute the microphone, and send what the assistant suggested to the Generator.

  • Your own Gemini API key is required (Section 1). Voice is sent directly from your browser to Google's Gemini API; it does not pass through our server.
  • Live is free for every signed-in user.

9. Free & Pro

PlanIncludes
FreeGenerator, Catalog, Concepts, History, Gemini Live voice.
Pro — $4.99/monthEverything in Free, plus the Error Troubleshooter. No usage count.
  • To upgrade, open the account screen (person or crown icon, top right) and choose Upgrade to Pro. To change or cancel, choose Manage / cancel subscription. After cancellation, Pro stays active until the end of the paid period.
  • Your Pro status is tied to your Google account and checked on our server, so it is the same on every device.

10. Staying Safe with Git

  • Check the risk label before running anything. "Danger" means data can be lost.
  • Run git status first, and consider git stash or a backup branch before destructive commands.
  • Never run git push --force on a shared branch; prefer --force-with-lease.
  • If you lose commits, git reflog can often recover them.

11. Privacy & Your Data

Your history and API key are stored only in your browser, separately for each account. When you generate commands, your text is relayed through our server to Google's Gemini API using your key; we do not store it. See the Privacy Policy for details.

12. Troubleshooting

ProblemWhat to try
"API key is not set"Open Settings, paste your Gemini API key, and save.
Quota or connection errorCheck the key in Google AI Studio, or wait and try again. Free keys have usage limits.
Error Troubleshooter is lockedIt requires the Pro plan. Upgrade from the account screen.
Sign-in failsReload the page and try again, and make sure pop-ups and third-party cookies are not blocked for the sign-in.
Live does not connectCheck that your API key is saved and that the browser has microphone permission.
History is missingHistory is stored per account in this browser. Sign in with the same Google account on the same browser.

コメント