Search notes:

git update-index

Register file contents in the working tree to the index.

See also

Git internals: update-index
git commands

Index