.git/index
is a binary file that contains a list of all the files being tracked (thus, it represents a virtual working tree. (Virtual: the index does not necessarily have to match the files in the working tree). git add
, existing files removed with git rm
. index
file is usually not found in a bare repository. Documentation/technical/index-format.txt
. git update-index
.