Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>JetBrains Git ControlNew to Visual Studio Code? Get it now.
JetBrains Git Control

JetBrains Git Control

witt

|
5 installs
| (0) | Free
Bring IntelliJ IDEA / JetBrains Git experience to VS Code & Cursor: Git graph visualization, IDEA-style commit panel with shelf/stash, branch management, cherry-pick, rebase, merge, 3-way merge editor, inline git blame annotations, and context menus. The best JetBrains Git alternative for Visual Stu
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JetBrains Git Control

The most complete IntelliJ IDEA / JetBrains Git experience for VS Code and Cursor. Includes Git graph visualization, IDEA-style commit panel with shelf and stash, branch management with context menus, cherry-pick, rebase, merge, 3-way merge editor, and WebStorm-style Annotate with Git Blame inline annotations. Works like WebStorm, PyCharm, GoLand, and Rider's Git tooling.

Note: This project is a fork of JetBrains Git - IntelliJ IDEA Git Graph, Commit & Shelf for VS Code, extended with inline git blame annotations and commit-graph navigation.

Fork of zhyc9de/jet-git with full IntelliJ IDEA-style context menus and UI enhancements.

English · 简体中文


Features

Inline Git Blame Annotations

WebStorm-style inline blame annotations for every line, with click-to-jump to the Git Log commit graph.

  • Display modes: whole file / cursor line only / N lines around cursor
  • Configurable columns: revision, date, author, commitNumber (select what you need)
  • Name styles: initials, last name, first name, full name, email
  • Age-based coloring: gradient colors based on commit age (new→blue, mid→green, old→gray)
  • Left alignment: all lines right-aligned, even without blame annotations

Branch Context Menu

Right-click any branch to checkout, create, merge, rebase, rename, delete, push, or pull — just like IntelliJ IDEA.

Branch Checkout

Commit Context Menu

Right-click any commit to copy hash, cherry-pick, checkout revision, reset, revert, create branch or tag.

Commit Context Menu

Changed Files Context Menu

Right-click files in the Changed Files panel: show diff, edit source, open repository version, revert/cherry-pick file changes, copy path.

Git Graph

Git Graph

  • Branch Tree — branches organized by Local / Remote / Tags with search filter
  • Commit List — color-coded branch lines, resizable columns (Message, Author, Date, Hash)
  • Detail Panel — commit message and changed file tree
  • Filters — filter by Branch, User, Date range

3-Way Merge Editor

3-Way Merge Editor

  • Three-column layout: Theirs | Result | Yours
  • Conflict highlighting with per-block action buttons
  • Full syntax highlighting

Conflict Management

Conflict List

  • Quick actions: Accept Yours / Accept Theirs / Merge
  • Integration with VS Code Source Control panel

Git Worktree

JetBrains-style worktree management panel in the Activity Bar sidebar.

  • Worktree list — view all worktrees with branch and path columns
  • New Worktree — searchable dropdown for branches (local + origin/*) and tags, with input validation and auto-fill
  • Open Project — double-click to open with native VS Code dialog (This Window / New Window)
  • Prune — clean up stale worktree metadata with JetBrains clearCash icon
  • Sidebar collapse — toggle toolbar visibility
  • Settings — jgc.worktree.openBehavior: ask (default) / thisWindow / newWindow

All Context Menu Actions

Branch (right-click)
  • Checkout
  • New Branch from...
  • Checkout and Rebase onto current
  • Rebase current onto branch
  • Merge into current
  • Rename (local only)
  • Delete (with force-delete fallback)
  • Update (pull)
  • Push
Commit (right-click)
  • Copy Revision Number
  • Cherry-Pick
  • Checkout Revision
  • Reset Current Branch to Here (Mixed/Soft/Hard)
  • Revert Commit
  • New Branch...
  • New Tag...
Changed Files (right-click)
  • Show Diff
  • Edit Source
  • Open Repository Version
  • Revert Selected Changes
  • Cherry-Pick Selected Changes
  • Copy Path
  • Copy File Name

Configuration

Configure in VS Code Settings under JGC:

Setting Description Default
jgc.blame.enabled Enable inline blame annotations true
jgc.blame.columns Columns to display ["revision", "author", "date"]
jgc.blame.colorMode Coloring mode order
jgc.blame.nameStyle Name display style lastName
jgc.blame.displayMode Display scope full
jgc.blame.aroundLines Context lines (around mode) 5
jgc.blame.dateFormat Date format yyyy-MM-dd HH:mm
jgc.worktree.openBehavior How to open projects from worktrees ask

Installation

From Marketplace:

Search for "JetBrains Git Control" or "JGC" in VS Code Extensions.

From .vsix:

  1. Download the latest .vsix from releases
  2. Cmd+Shift+P → "Extensions: Install from VSIX..."

Requirements

  • VS Code 1.85.0+
  • Git installed and in PATH

Local Development

git clone https://github.com/witt-bit/jetbrains-version-control.git
cd jetbrains-version-control
pnpm install
cd webview && pnpm install && cd ..

Press F5 to launch Extension Development Host.

pnpm run watch          # Watch mode
pnpm run build          # Production build
pnpm run vsce:package   # Package as .vsix

Credits

  • Original: aotemj/jetbrains-git-graph
  • Fork from: zhyc9de/jet-git
  • Icons: IntelliJ IDEA Icons (Apache 2.0)

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft