Git Brain 🧠Your Git. Clear at a glance.Visual commits, branches, diffs, conflicts, and worktrees - right inside your editor. Your AI agent writes the code. Git Brain helps you understand what happened.
Install from VS Marketplace · Install from Open VSX · Explore Git Brain · View on GitHub Three ways Git Brain fits modern developmentAlternative to GitLens and Git GraphChoose Git Brain when you want a focused visual workspace for everyday changes, commits, branches, stashes, worktrees, history, on-demand blame, and three-way conflict resolution. GitLens provides a broader code-history and collaboration surface; Git Brain keeps the core repository workflow together. JetBrains Git UX in VS Code and CursorKeep visual history, branch context, guided conflicts, and discoverable Git operations when moving from IntelliJ, PyCharm, WebStorm, or another JetBrains IDE to a VS Code-compatible editor. Agentic Git and local MCP extensionGit Brain bundles a local MCP bridge with typed tools for repository status, comparisons, commits, branches, worktrees, conflicts, and guarded Git actions. It accepts no raw Git arguments, shell commands, credentials, or absolute repository paths. Telemetry is disabled by default. When enabled, anonymous analytics exclude code, file paths, repository content, diffs, commit messages, raw branch names, and raw remote URLs.
AI can change hundreds of lines in minutes. Git Brain gives you a visual layer for understanding and controlling the repository those changes leave behind. See what changed, decide what belongs in a commit, follow the branch history, and resolve conflicts without leaving your editor. See your repository clearlyExplore commits, branches, merges, tags, and history without decoding Git commands or jumping between tools.
Finish everyday Git work in one place
Resolve conflicts without the headacheSee Local, Result, and Remote together in a real three-way merge editor. Git Brain connects matching changes across all three panes and keeps the editable result in the center.
Navigate each conflict, accept either side or both, edit the result directly, and undo any decision. Apply non-conflicting changes in one action, resolve simple conflicts automatically, collapse completed sections, and finish the merge from the editor. Explore visual conflict resolution Everything you use Git for every day
AI assistance you review and controlGit Brain uses AI where it can remove repetitive work while keeping you in the review loop.
Git Brain is free to install. Verified accounts can try the current interactive hosted-AI features with a one-time complimentary allowance, subject to shared daily availability. Git Brain never promises a fixed number of free actions: usage depends on the size of each request. When today's complimentary capacity or the account's daily limit is reached, the extension explains when to try again; when the one-time allowance is finished, users can buy AI coins and continue. Purchased coins remain available even when the complimentary pool is full. Complimentary access is currently limited to extension UI entry points. Hosted AI invoked through MCP remains coin-funded. AI features require a free Git Brain sign-in. In addition to complimentary and coin-funded hosted AI, users can connect an existing Codex, Claude Code, Cursor Agent, GitHub Copilot, or Gemini CLI subscription. Connected subscriptions run through the provider's local authenticated client and charge 0 Git Brain coins. Git Brain never stores the provider credential. Connect coding agents to Git with MCPThe bundled MCP server gives supported coding agents structured access to repository status, diffs, commits, branches, worktrees, and unpushed changes. Agents use registered Git Brain capabilities rather than raw Git arguments, shell access, credentials, or arbitrary filesystem access. VS Code and Cursor connect automatically. The Git Brain Activity view can also configure Codex CLI, Claude Code, GitHub Copilot CLI, or Gemini CLI, and can copy configuration for another MCP client. Mutating operations use guarded inputs and explicit confirmation where the client supports MCP elicitation. Works where you codeInstall Git Brain in VS Code, Cursor, Kiro, CodeBuddy, Trae, VSCodium, Windsurf, Antigravity, Firebase Studio, and Theia IDE. Git Brain also supports the Trae CN and Kiro CN variants. Open a Git repository after installation, then launch Git Brain from the Activity Bar. Start with the Changes view, open the visual Git Log, or select a conflicted file to use the merge editor. Coming from WebStorm or another JetBrains IDE? Read the JetBrains migration guide. Looking for a more focused GitLens alternative? See the Git Brain and GitLens comparison. PrivacyGit Brain uses anonymous analytics to improve product quality. Analytics never include your code, file contents, file paths, diffs, commit messages, raw branch names, or raw remote URLs. Provider lookup may reuse an existing VS Code GitHub session or an optional, host-scoped GitLab token stored in VS Code SecretStorage. Git Brain does not start an interactive sign-in without an action from you. Learn more and get helpIf you report a problem from the Commit tab, Git Brain can include useful extension and platform details without including repository content. |


