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.