Source: dzone.com

A Bit About Git
by Git works on three main concepts: Commit, Tree, Blob.

When a commit is made to a Git repo, all the 3 are created: a Blob, a Tree pointing to the Blob, and a Commit pointing to the Tree.

As you can see, the content in the blob is same as the content that is held by the file helloworld.txt. This is how Git manages the contents in the repository internally, through Commit, Tree, Blob.

Related Articles