GitLens Documentation

GitLens Worktrees

Last updated: August 2025

Worktrees View

GitLens Worktrees view in VS Code showing multiple branches
GitLens Worktrees view

The GitLens Worktrees view lets you create, view, and manage worktrees. Worktrees allow you to check out multiple branches of the same repository at the same time.

This makes it easier to develop or test different branches in parallel while minimizing the context switching between them.

You can also customize Worktrees settings to fit your workflow.

Have feedback about this article? Did we miss something? Let us know!
On this page