GitLens for VS Code

The #1 Git Extension for supercharging Git in your IDE

Richer GitLab integration, the ability to reorder your commits when making an interactive rebase, new and improved autolinks, vanilla Gerrit support, and more! Learn more.

With over 10 million installs, GitLens is the most popular Git extension for Visual Studio Code. It supercharges the Git capabilities built into your IDE.

GitLens unlocks the untapped knowledge within each repository to help visualize code authorship by leveraging CodeLens and Git blame to expose your Git history at every line of code. Seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and unleash the full power of Git without breaking your development flow.

While GitLens is powerful and feature-rich, it is also highly customizable to meet your specific needs — find code lens intrusive or the current line blame annotation distracting — no problem, it is quick and easy to turn them off or change how they behave.

Features that Supercharge Git in VS Code

Unobtrusive Blame Annotations

At the end of each line of code, you’ll find an unobtrusive current line blame annotation showing the commit and author who last modified the line. Check out the status bar blame to see similar information.

View Git Authorship CodeLens

GitLens leverages CodeLens to expose the most recent commit and number of authors at the top of files and on code blocks. Click the links that CodeLens exposes to show a commit file details quick pick menu with commands for comparing, navigating and exploring commits, and more. 

Effortless Revision Navigation

Quickly navigate backwards and forwards through the history of a file or even a single line to compare changes over time. You can also jump to a specific commit, branch, or tag to see how the code changed since then.

Install GitLens for Free in VS Code

GitLens is the leading Git extension for VS Code, rated 4.8 out of 5 stars with hundreds of reviews! It serves as a companion tool for developers, offering rich insights and visualizations directly in the IDE, and providing real-time contextual feedback and help.

Why Developers Love GitLens


Unlock the wealth of knowledge within your repository to better understand the code and its evolution, increasing productivity and reducing defects.


Leverage the full power of Git directly in your IDE, whether you are a Git novice, guru, or anywhere in between.


Completely integrate GitLens with your code and your workflow. All from the comfort of your IDE, no context switching required.


See How GitLens Will Improve Your Workflow

GitLens provides rich integrations with many remote providers, including GitHub, GitHub Enterprise, GitLab, Gitea, Bitbucket, Bitbucket Server, Azure DevOps and custom servers. Quickly gain insights from pull requests and issues without leaving your codebase. All Git repository host integrations provide issue and pull request auto-linking, while advanced integrations (e.g. GitHub) provide more detailed hover information, plus the ability to associate pull requests with branches/commits, and avatars. Take a tour to see how it integrates into your dev toolchain.

Check out a plethora of helpful documentation, videos, release notes, articles and more. See Resources →

Install GitLens for Free

With over 10 million installs and 70 million downloads, GitLens is one of the popular VS Code extensions. Period. GitLens offers in-depth, contextual Git details, helping developers gain valuable insights and unlock powerful Git features.