Porcelain and Plumbing git commit Plain English: Create a new tree object from the current index and create a new commit object from that tree. The commit object combines a commit message, parent, date, author, committer, and the tree. Update the ref pointed to by HEAD with the hash of the new commit object. Plumbing Once files are in the index (using git add or git update-index) use git write-tree to create a new tree object: