Skip to content
aicoolies logo
GitLens logo

GitLens

Most popular VS Code Git extension with 30M+ installs

GitLens is the most-installed Git extension for VS Code with over 30 million installs. It supercharges Git inside the editor with inline blame annotations, rich commit history visualization, file and line history, AI-powered commit summaries, and interactive rebase tools. Pro features include GitKraken-powered team analytics and visual diff tools. Maintained by GitKraken.

About GitLens

GitLens transforms VS Code's basic Git integration into a comprehensive version control experience by surfacing Git information directly in the code editing context. Inline blame annotations show who last modified each line with the commit message and timestamp, eliminating the need to run git blame in the terminal or switch to a separate Git client. Hovering over any line reveals the full commit details including the diff, related files, and linked issues. This contextual information helps developers understand why code exists in its current form, making it invaluable for onboarding onto unfamiliar codebases and debugging regressions.

The extension provides rich visualization tools including an interactive commit graph that shows branch topology and merge history, file history views that track how individual files evolved over time, and line history that traces a specific code block through renames and refactors. The comparison features allow side-by-side diffs between any two branches, commits, or tags with syntax-highlighted visualization. For teams, the AI-powered features generate commit message summaries, explain code changes in natural language, and create PR descriptions based on the diff — capabilities that align with the broader AI-assisted development trend.

GitLens operates on a freemium model where core features like blame annotations, history navigation, and basic visualization are free, while advanced capabilities including visual file history, worktree management, and team analytics require GitLens Pro through GitKraken subscriptions. With over 30 million VS Code installs and a 4.8/5 average rating, GitLens is consistently among the top 10 most-installed VS Code extensions globally. Its combination of Git power features and AI capabilities makes it a natural fit for developers who live in VS Code and want rich version control context without switching tools.

Pricing & Platform Specs

Pricing Summary

Freemium Git extension for VS Code and Cursor. GitLens Community is free ($0) with inline blame, file history, and basic commit graphs for public repositories. GitLens Pro is $8–$10/user/month ($8/mo annual, $11/mo monthly) unlocking the interactive Commit Graph, Worktree management, and AI commit summaries on private repositories. Teams and Enterprise plans ($14–$25/user/mo) include SAML SSO, self-hosted Git server support, and centralized license governance. Free for students via the GitHub Student Developer Pack.

full pricing breakdown →

Supported Platforms

VS Code extension

Explore categories, tags & use cases

AI-native Git client with virtual branches and smart commits

GitButler is a source-available Git client for virtual/stacked branches, AI-assisted workflows, and intelligent conflict resolution. Co-founded by Scott Chacon, it helps developers organize commits and work on multiple changes simultaneously. 21K+ GitHub stars; FSL-1.1-MIT license model.

freemium

AI developer productivity platform with stacked PRs

Graphite is an AI-powered developer productivity platform that combines stacked pull requests with intelligent code review. Its AI agent catches real bugs with an under 3% unhelpful comment rate and offers one-click fixes directly in the PR flow. The stacked PR workflow breaks large changes into smaller, sequenced diffs that merge independently, keeping developers unblocked. Includes a stack-aware merge queue, CLI tool, VS Code extension, unified PR inbox, and deep GitHub integration.

freemium

Code intelligence platform

Code intelligence platform providing universal code search across all repositories, languages, and code hosts. Search with regex, structural patterns, and diff/commit search across GitHub, GitLab, Bitbucket, and self-hosted repos. Features code navigation (go-to-definition, find references) in the browser, batch changes for large-scale refactoring, code insights for tracking metrics, and Cody AI assistant for code generation and explanation. Self-hosted and cloud options.

freemium

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is GitLens?

GitLens is the most-installed Git extension for VS Code with over 30 million installs. It supercharges Git inside the editor with inline blame annotations, rich commit history visualization, file and line history, AI-powered commit summaries, and interactive rebase tools. Pro features include GitKraken-powered team analytics and visual diff tools. Maintained by GitKraken.

Is GitLens free?

GitLens offers a free tier alongside paid plans. Freemium Git extension for VS Code and Cursor. GitLens Community is free ($0) with inline blame, file history, and basic commit graphs for public repositories. GitLens Pro is $8–$10/user/month ($8/mo annual, $11/mo monthly) unlocking the interactive Commit Graph, Worktree management, and AI commit summaries on private repositories. Teams and Enterprise plans ($14–$25/user/mo) include SAML SSO, self-hosted Git server support, and centralized license governance. Free for students via the GitHub Student Developer Pack.

Is GitLens open source?

Yes — GitLens is open source.

Is GitLens still maintained?

Yes — GitLens is active. Its listing was last verified on September 6, 2026.

What are the best GitLens alternatives?

The first editor-selected GitLens alternatives are GitButler, Graphite, Sourcegraph.