When committing staged records, trees are generated to represent local repositories and their content (files/blobs and sub-directories/sub-trees).