Everything Git stores is an object, named by the hash of its content and kept zlib-compressed as a loose file. Objects are never modified, only added.
Git object
A blob, tree, commit or tag stored under its hash in .git/objects.
Everything Git stores is an object, named by the hash of its content and kept zlib-compressed as a loose file. Objects are never modified, only added.