DEV Community

loading...
Cover image for What is Git and how it works

What is Git and how it works

dhanushkadev profile image Dhanushka madushan ・1 min read

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

Discussion (0)

Forem Open with the Forem app