GitCanopy is a hyper-minimalist, high-performance Git visualizer and client designed for professional engineers. It transforms the traditional Git client into an intelligent development partner by deeply integrating Google Gemini into the core version control lifecycle.
GitCanopy is built around the philosophy that tools should understand code, not just text. I leverage the Gemini 3 model (and support OpenAI/Claude) to provide three distinct cognitive services:
Before you push code, GitCanopy acts as a virtual Senior Engineer. It scans your staged diffs and generates a comprehensive audit report.
- Quality Score (0-100): A heuristic metric based on security, stability, and maintainability.
- Security Scanning: Detects hardcoded secrets, API keys, and unsafe input handling patterns.
- Bug Detection: Identifies logical fallacies, potential null reference exceptions, and race conditions.
- Performance: Highlights suboptimal loops or heavy computations.
GitCanopy parses raw code changes to extract the "intent" behind a delta. It ignores whitespace and trivial changes to focus on the architectural impact, generating semantic commit messages that adhere to the Conventional Commits specification.
Standard merge tools are "dumb"—they force you to choose between Line A or Line B. GitCanopy's Prompted Resolver allows for semantic merging. You can provide natural language instructions like:
"Combine these changes. Keep the error handling from the Incoming branch, but use the async/await pattern from the Current branch."
The AI synthesizes a new block of code that satisfies both requirements, turning complex logic conflicts into simple prompts.
graph TD
subgraph "Renderer Process (React)"
UI[Minimalist UI] --> Hook[Custom Hooks/Context]
Hook --> Worker[Web Worker: Layout Engine]
end
subgraph "Main Process (Electron/Node.js)"
IPC[IPC Bridge] --> GitS[Git Service]
IPC --> AIS[AI Service]
GitS --> Binary[Local Git Binary]
AIS --> Gemini[Google Gemini API]
Watcher[chokidar Watcher] --> IPC
end
Binary -.-> FS[(Local Filesystem)]
Watcher -.-> FS
GitCanopy supports Gemini (Primary), OpenAI, and Claude as backend providers.
Go to Settings (⌘,) and navigate to the AI Assistant tab.
- Provider: Select Google Gemini (Recommended).
- Model: Choose from a wide range of models including
gemini-3-flash,gemini-3-pro,gemini-2.5-flash,gemini-2.5-pro,gemini-2.0-flash-exp, andgemini-1.5-flashto best suit your performance and intelligence needs. - API Key: Enter your key (it will be encrypted on disk).
Before you commit, click the purple "Review Changes" button in the Source Control header.
- Score: You will receive a score from 0-100. Aim for >90.
- Analysis: Review the categorized issues.
- 🛡️ Security: Caught hardcoded secrets or unsafe inputs.
- 🐛 Bugs: Logic errors or potential crashes.
- ⚡ Optimization: Performance bottlenecks.
- 🎨 Style: Code consistency issues.
- Stage your files.
- Click the Robot Icon next to the commit message input.
- The AI will generate a Summary and Description based on the intent of your changes, not just the file names.
The flagship feature of GitCanopy. Press ⌘J to open a centered, Arc-style command palette. Type any Git intent in plain English, and the AI will translate it into a safe Git command for execution.
- Intent-Based: "Switch to my work on the header" or "Undo my last commit."
- Context-Aware: Understands your current branch and repository state.
When a merge conflict occurs:
- Click the conflicted file in the Changes view.
- You will see a 3-pane view: Current, Incoming, and Result.
- The Magic: In the "AI Instruction" box at the bottom, type naturally.
- Click Resolve with AI.
- Railway-Style Graph: Maps the Directed Acyclic Graph (DAG) of your repository onto a stable, multi-lane grid.
- Edit Mode & Marquee Selection (V): Switch to Select mode to draw a marquee box over multiple commits. This activates the bulk action bar for squashing and hash copying.
- Git Time Machine: A temporal scrubber that allows you to rebuild the graph visualization at any point in history.
- Virtualized Rendering: Optimized to handle enterprise-scale repositories (10,000+ commits) without UI lag.
- Semantic Coloring: Instantly distinguish between features, fixes, refactors, and merges based on commit message prefixes.
- Uncommitted Changes View: A dedicated tab to view modified, added, and untracked files.
- Unified Diff Viewer: Professional-grade diff interface with line numbers, hunk headers, and syntax-aware highlighting.
- Stage & Commit: Seamless GUI workflow for staging files and creating new commits.
- Push to Remote: One-click synchronization with your remote server when your local branch is ahead.
- GitHub Actions Explorer: Live monitoring of CI/CD pipelines with real-time status updates and manual refresh capability.
- Stash Gallery: A visual interface for managing git stashes, featuring an Expandable Preview to inspect affected files before applying.
- Team Metrics: Analyze contributor impact, commit frequency, and activity over time.
- Hotspots: Identify high-churn files that are frequently modified.
- Launch GitCanopy and click Open Repository.
- Select any folder containing a
.gitdirectory. - Your most recent repositories will appear on the Welcome Screen for quick access.
- Use the Status Bar (bottom) to switch between:
- Graph View: The primary visual DAG.
- Commit History: A searchable, virtualized list of all commits.
- Changes: Your current working directory status.
- Actions: Live GitHub Actions monitoring (requires Personal Access Token).
- Insights: Contributor and file hotspots.
- Checkout (Cmd+B): Safe branch switching with spotlight search.
- Go to the Changes tab.
- Hover over a file in the "Working Directory" and click
+to stage it. - Enter a concise commit message in the text area at the bottom.
- Click Commit (or press
⌘Enter).
| Shortcut | Action |
|---|---|
⌘ + O |
Open Repository |
⌘ + B |
Spotlight Branch Switcher |
⌘ + J |
AI Command Center |
⌘ + R |
Refresh / Sync Data |
V |
Select Mode (Marquee) |
H |
Pan Mode (Navigation) |
Esc |
Close Panels / Clear Selection |
⌘ + C |
Copy Selected Hashes |
⌘ + Enter |
Execute Commit (when in Changes view) |
- Anti-Injection: All Git commands are executed using safe argument arrays and the
--separator to prevent flag injection. - Encrypted Storage: GitHub and AI API Keys are encrypted using OS-level safe storage (Keychain/DPAPI).
- Hardened URL Parsing: Strict hostname verification for GitHub remotes to prevent SSRF and malicious redirection.
- Electron Hardening: Strict
contextIsolationandwebSecuritysettings. External navigation is disabled by default.
- Web Worker Layout: Graph layout calculations are performed off-thread to ensure zero-stutter navigation.
- Memory Safety: A 20MB safety buffer is applied to all Git output streams to prevent memory exhaustion on massive diffs.
- Read-Write Locking: Custom concurrency system that allows parallel read operations while safely serializing writes.
- List Virtualization: Uses
react-windowto ensure only visible rows are rendered in the DOM, maintaining 60FPS scrolling.
GitCanopy is built on the principle of "Developer First" and prioritize speed and data density over decorative UI elements. Every pixel should serve a functional purpose.
Build Version: 1.2.0 Stable Platform: macOS / Windows / Linux