Branqo Docs

AI Features

Use AI to generate commit messages, review code, resolve conflicts, and more.

AI Features

Branqo includes AI-powered features to enhance your Git workflow. AI features require a Premium subscription ($4.99/month or $49.99/year).

AI Commit Messages

Generate meaningful commit messages from your staged changes:

  1. Stage your changes
  2. Click the AI button next to the commit message box (or press Ctrl+Shift+M)
  3. Branqo sends your diff to the AI, which analyzes the changes and generates a descriptive commit message
  4. Review and edit the message before committing

The AI follows conventional commit format and considers the full context of your changes.

AI Code Review

Get AI-powered code review on any commit or diff:

  1. Select a commit or view a diff
  2. Click AI Review in the toolbar
  3. The AI analyzes the code and provides:
    • Potential bugs or logic errors
    • Performance suggestions
    • Code style recommendations
    • Security concerns

Reviews appear as inline comments in the diff view, similar to GitHub PR reviews.

AI Conflict Resolution

When merge conflicts occur, AI can suggest resolutions:

  1. Open a conflicted file in the conflict editor
  2. Click AI Resolve
  3. The AI analyzes both sides and generates a merged result
  4. Review the suggestion before accepting

See Resolving Merge Conflicts for details.

AI Merge Descriptions

Automatically generate pull request / merge request descriptions:

  1. When creating a PR/MR, click AI Description
  2. The AI summarizes all commits in the branch
  3. It generates a structured description with changes, motivation, and testing notes

AI Budget

Premium subscribers have a weekly token budget:

  • Premium: 1,000,000 tokens/week
  • Extra Usage add-on: 3,000,000 tokens/week (3×)
  • Automation: 10,000,000 tokens/week (10×)
  • Budget resets every Monday at 00:00 UTC
  • Token usage includes AI responses, system prompts, specialized assistants, and verification passes
  • When budget is exhausted, AI features pause until Monday — all non-AI features continue working

Track your usage in the Dashboard.

Privacy & Security

Secret Scanner

The Secret Scanner (on by default) automatically detects and redacts sensitive data before any code is sent to the AI:

  • API keys and tokens
  • Passwords and secrets
  • Connection strings
  • Private keys

You can review what was redacted in the AI Request Log.

AI Request Log

Enable the AI Request Log (opt-in) in Settings to see exactly what data is sent to and received from the AI:

  • Every AI request is logged locally as a JSONL file
  • View the log in Settings → AI → Request Log
  • Logs are stored locally and never sent anywhere

Data Handling

  • Code context (diffs) is sent to Branqo's cloud proxy for processing
  • The proxy routes requests to Google AI for processing
  • Code is never stored, logged, or used for training
  • Responses are cached briefly (for identical requests) then deleted

CLI

# Generate AI commit message
branqo ai commit-message

# AI code review on staged changes
branqo ai review

# Check AI budget
branqo ai budget