Skip to main content
The Git Diff panel shows changed files for the selected worktree. Use it to inspect what changed before asking an agent to continue, before creating a review artifact, or before switching context. For how chats and Terminal Agents choose worktrees, see Worktrees.

Controls

The panel includes:
  • a worktree picker
  • a refresh action
  • changed-file search
  • changed-file rows with file path and change summary
Changed files can be grouped and searched.

States

The panel shows explicit states for common cases:
  • no git worktrees
  • no changes in the selected worktree
  • loading changed files
  • subscription or git-listing errors
  • repository warnings such as conflicts or detached HEAD
  • binary files that cannot be previewed as text