сравнивает файлы в рабочем дереве и индексе (Compares files in the working tree and the index)
Описание (Description)
Compares the files in the working tree and the index. When paths
are specified, compares only those named paths. Otherwise all
entries in the index are compared. The output format is the same
as for git diff-index and git diff-tree.