Show worktree HEAD labels in revision graph

Author: PyfhonCreated Sep 26, 2026Updated Sep 27, 2026
Labelstype: feature requestarea: worktree

Feature description

Git Extensions already shows branch and tag labels directly in the revision graph, and worktrees are now available in the left panel and toolbar.

It would be useful to also show each worktree directly on the commit where its HEAD currently points.

For example:

● a1b2c3  [main] [WT: repo]
|
● d4e5f6  [feature/foo] [WT: foo] [WT: review]
|
● 112233

The label could simply use the worktree directory name (basename of its path).

If several worktrees point to the same commit, show several labels.

The full worktree path could be shown in a tooltip.

I would keep the initial scope intentionally small:

  • display only;
  • no special handling for the current/main worktree;
  • no context menu or management actions;
  • no requirement for the label to be clickable.

This would be especially useful for detached worktrees, where there may be no branch label at all, but it is still important to see where that worktree currently points.

Related:

  • #7048
  • #12927

Environment

  • Git Extensions 7.2.1.7
  • Build 0aea2d6df4c120806c46f1797ba6a45f5d14b345
  • Git 2.53.0.windows.3
  • Microsoft Windows NT 10.0.26200.0
  • .NET 10.0.9
  • DPI 120dpi (125% scaling)
  • Portable: False
  • Microsoft.WindowsDesktop.App Versions

Source: gitextensions/gitextensions