> ## Documentation Index
> Fetch the complete documentation index at: https://docs.traycer.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Git Diff

> Use Git Diff to inspect changed files in a worktree.

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](/concepts/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
