DEV Community

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

Posted on


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)

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.