Git Blog

Releasing the Power of Git

Promotional graphic for GitLens 17.1 featuring a blurred background of colorful data visualizations and file history. Text reads "GitLens - Decode Your Repos, Folders & Files with GitLens 17.1." The GitLens logo is prominently displayed on the left.

See Your Codebase Like Never Before: GitLens 17.1 Revolutionizes Repository Visualization

TL;DR: This release transforms repo, folder, and file exploration with a fully reimagined Visual History, introduces powerful AI explanations for branches and changes, expands enterprise AI provider support, and delivers blazing performance on large repos helping you untangle codebase complexity faster than ever.

Enhanced AI Explanations

We’ve greatly expanded AI explanation capabilities beyond just commit explanations, making it easier to understand more aspects of your repository, from more places in GitLens.

Promotional banner for GitLens AI Explain feature. Text reads "Get AI explanations for branches, stashes, working changes and more across GitLens." Buttons labeled Commits, Branches, Stashes, and Working Changes are displayed. Additional text notes accessibility from multiple views within GitLens including Commit Graph, Command Palette, and others.

The ✨Explain functionality now includes generating summaries of changes for branches, working changes, and stashes in Preview. All summaries will open in rendered markdown instead of the Commit Details panel for better visibility and persistence.

You’ll find options for commits, branches, stashes, and working changes in several places:

  • In the Commit Graph
  • Available as commands in the command palette
  • In the Commits, Branches, Stashes and Search & Compare views
  • In branch cards in the Home view

With these new AI explanation capabilities, you can quickly understand:

  • What changed across all commits in a branch – ✨Explain Branch (Preview)
  • What you’ve modified in your working directory – ✨Explain Working Changes (Preview)
  • What you’ve previously stashed – ✨Explain Stash (Preview)

AI Provider Support

We’ve also expanded AI provider support to give you more options when using GitLens AI features, including:

Dropdown menu titled "Select AI Provider" in the GitKraken interface. The list includes AI providers such as GitKraken AI (Preview), Copilot, Anthropic, Google (Gemini 2.0 Flash), OpenAI, Azure, OpenAI-Compatible Provider, Ollama, OpenRouter, Hugging Face, GitHub Models, DeepSeek, and xAI. GitKraken AI is noted as included in the plan; Copilot requires an API key.
  • New OpenAI and Google models
  • Self-hosted Azure AI models, now more prominently surfaced
  • OpenAI-compatible API providers
  • Local Ollama models for on-premises AI processing
  • OpenRouter support

AI on Your Terms

We’ve also improved AI discoverability and control with:

  • A new “AI” section in the GitLens walkthrough for easier onboarding
  • Clearer UI that maintains discoverability while respecting user preferences

Visual History

Visual File History has evolved into a comprehensive Visual History feature with faster, more intuitive navigation between files, folders, and repositories through new interactive elements.

Screenshot of GitLens' Visual File History feature showing a graph of commit activity over time. Each colored bubble represents a contributor's changes, with size indicating the impact. A tooltip highlights a commit by Ian Hattendorf, showing the hash, time, and line changes. A timeline and author list appear on the left and bottom axes, and a filter panel is visible on the right.

The new Visual History allows you to:

  • View repository-wide visualizations directly from the Home view with the prominent “Visualize Repository History” button next to the Graph button
  • Navigate seamlessly from file to folder to repo levels with an interactive breadcrumb
  • Use the interactive diff scrubber for precise navigation through historical changes
  • Experience significant performance improvements with faster loading, better animations, and smoother zooming

Key visualization capabilities include:

  • Multi-branch visibility with the option to view “All Branches” to see changes across your entire repository
  • Flexible visualization slicing that lets you organize the view by either:
    • Author – See contributions organized in swimlanes by team member
    • Branch – When in “All Branches” mode, view changes organized by branch to easily identify work that hasn’t been merged into your main branch

These powerful visualization options help you:

  • Discover unmerged work on other branches related to specific files
  • Identify changes made to files across different branches that haven’t been incorporated into your main branch
  • Maintain context when navigating complex repository histories

Visual History has transformed from a simple file viewer to a fully-fledged history explorer, giving you unprecedented visibility into your repository’s evolution over time.

You can access Visual History from multiple entry points:

The Home view from the new “Visualize Repository History” icon 

Screenshot of GitLens in VS Code showing the "Visualize Repo History" button highlighted in the top-right of the branch view. The tooltip reads "Visualize Repo History." The current branch is "walkthrough-changes," and a "Publish Branch" button is visible below.

From branch cards in the Home view

GitLens interface showing the branch "colorchange" with the "Visualize Repo History" button highlighted. Below are buttons labeled "Create a Pull Request," "Create with AI," and "Associate an Issue."

From the Visual File History view when following your editor selection

GitLens Visual File History view for CHANGELOG.md, displaying a color-coded timeline graph of contributions by Eric Amodio, Keith Daulton, Sergei Shmakov, and Ramin Tadayon over time. Colored bubbles and vertical bars indicate commit volume and activity.

Each Visual History view can be opened in separate windows and arranged according to your workflow needs.

Home Workflow Improvements

The Home view now provides more accurate context about your work and offers more flexibility in how you manage branches and their relationships.

  • Improved issue association for more accurate tracking of issues related to branches, reducing duplicate or incorrect matches
  • Manual merge target selection allows you to change the merge target for your active branch when the assumed target isn’t correct, giving you more control over your workflow

Graph Enhancements

We’ve made several improvements to the Commit Graph for better performance and usability.

Commit details view in GitLens showing a commit by Sergei Shmakov with message "Describes fixes in Changelog (#4192, #4243)", including linked issues and tooltip explanation of implemented methods for Azure and Bitbucket.
  • Performance optimization with behind-the-scenes changes for faster graph rendering
  • Enhanced Commit Details with:
    • Autolinks moved directly into the commit message component for easier access
    • ✨Explain Commit positioned closer to the commit message
    • Streamlined panel layout providing more space for the file tree

Git Performance Improvements

GitLens 17.1 features significant performance enhancements to core Git operations, resulting in significantly improved performance, enhanced accuracy, and greater responsiveness across all Git operations with particularly dramatic improvements for large repositories.

Key performance improvements:

  • Rewritten Git execution and parsing engine for dramatically faster and more reliable Git operations
  • Optimized Git access layer with batched operations and improved caching systems
  • Smarter contributor stats with improved fetching performance and richer data
  • Faster and more accurate commit searches across the Commit Graph and Search & Compare views
  • Streamlined file and line history with more precise results and snappier performance
  • Improved Git cancellation handling for smoother UX and lower system impact
  • Reduced memory footprint for large repository operations
  • New advanced setting gitlens.advanced.commits.delayFileLoading for dramatic performance gains on large repositories (can reduce loading times from minutes to seconds)

These architectural improvements allow GitLens to handle large repositories with greater efficiency providing a more fluid experience. If you work with large codebases, you’ll immediately notice the difference in responsiveness and reliability.

Install GitLens 17.1 Today

GitLens 17.1 is available now from the Visual Studio Code Marketplace. This release represents our ongoing commitment to making Git more accessible while providing the performance and flexibility that professional development teams require.

For the full list of changes, check out our detailed release notes.

Like this post? Share it!

Read More Articles

Visual Studio Code is required to install GitLens.

Don’t have Visual Studio Code? Get it now.

Team Collaboration Services

Secure cloud-backed services that span across all products in the DevEx platform to keep your workflows connected across projects, repos, and team members
Launchpad – All your PRs, issues, & tasks in one spot to kick off a focused, unblocked day. Code Suggest – Real code suggestions anywhere in your project, as simple as in Google Docs. Cloud Patches – Speed up PR reviews by enabling early collaboration on work-in-progress. Workspaces – Group & sync repos to simplify multi-repo actions, & get new devs coding faster. DORA Insights – Data-driven code insights to track & improve development velocity. Security & Admin – Easily set up SSO, manage access, & streamline IdP integrations.
winget install gitkraken.cli