The description is a bit misleading. This command checks if the working copy is different from the index. In this context, merging means you will need to use git add , git rm or git checkout to synchronize the index and the working copy. This has nothing to do with git merge .
The index stores a snapshot of the stat working file information in order to optimize user detection of changes. It is updated every time these changes are inserted into the intermediate area ( git add , git rm ) or when the working copy modification is canceled ( git checkout , git reset , ...).
Sylvain defresne
source share