Search notes:

tree object [git]

A tree object contains a list of file names and modes along with refs to the associated blobs and/or tree objects.
A tree is the equivalent to a directory.

Looking at the content of a tree object

git ls-tree 5f39acdb8...

(Sub-)directories

(Sub-)directories are stored as an object id to another tree-object.
Git internals: git tree object

tree-ish

A tree object or an object that can be recursively dereferenced to a tree object.
Dereferencing a commit object yields the tree object corresponding to the revision's top directory.
The following are tree-ishes:

See also

A tree object's hash can be shown with git's --format option %T (full) and %t (abbreviated)
Git objects

Index