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
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.
Install GitLens for Free
With over 10 million installs and 70 million downloads, GitLens is one of the most popular VS Code extensions. Period. GitLens offers in-depth, contextual Git details, helping developers gain valuable insights and unlock powerful Git features.