сравните дерево с рабочим деревом или индексом (Compare a tree to the working tree or index)
Имя (Name)
git-diff-index - Compare a tree to the working tree or index
Синопсис (Synopsis)
git diff-index [-m] [--cached] [--merge-base] [<common diff options>] <tree-ish> [<path>...]
Описание (Description)
Compares the content and mode of the blobs found in a tree object
with the corresponding tracked files in the working tree, or with
the corresponding paths in the index. When <path> arguments are
present, compares only paths matching those patterns. Otherwise
all tracked files are compared.