Hello, I'm Ganesh. I'm working on FreeDevTools online, currently building a single platform for all development tools, cheat codes, and TL; DRs — a free, open-source hub where developers can quickly find and use tools without the hassle of searching the internet.
We all use git as version control. In this Blog, we will understand how it works.
What is Git?
Git is a database, and the fundamental unit of it is the commit.
What is a commit?
A commit is a snapshot of a complete photograph of your project at that moment.
Whenever you change, you make the entire project file.
Each commit has 3 things.
Snapshot
Current commit pointer.Metadata
Who created it (commit author), when it was created(Commit time), and why it was created(commit message).Parent
Pointer to the previous commit.
This creates a chain where each commit points to its parent and the parent points to the original commit.
The first commit has no parent, and it is called origin.
When you merge commit, it has 2 parents.
Conclusion
Now we understand what Git is and what a Git commit is.
Git is a database that stores commits of the project.
Commit always points backward, but parents don't know their children.
In the next blog, we will understand more about git. Please stay tuned.
I’ve been building for FreeDevTools.
A collection of UI/UX-focused tools crafted to simplify workflows, save time, and reduce friction when searching for tools and materials.
Any feedback or contributions are welcome!
It’s online, open-source, and ready for anyone to use.
👉 Check it out: FreeDevTools
⭐ Star it on GitHub: freedevtools

Top comments (0)