DEV Community

Cover image for What is Git and how it works
Dhanushka madushan
Dhanushka madushan

Posted on

3 1

What is Git and how it works

As programmers we use Git to save last successful state of a code. Git has simple way of keeping and versioning history in Git repository. Git keep data as combination of following objects.

Blob : This object used to store content of single file
Tree : Reference to another blog or sub-tree
Commit : Commit data (Auther, Commiter ect) and reference to tree object
Tag : Reference to Commit object.

Here, what is git and how it works.
How Git works

Top comments (0)