Exploring Git: From Blobs and Trees to Practical Workflows
How does git store files and keep track of everything while being efficient? What's inside the .git folder?? With these interactive questions the session was kick started by Alfiya didi . One of th...

Source: DEV Community
How does git store files and keep track of everything while being efficient? What's inside the .git folder?? With these interactive questions the session was kick started by Alfiya didi . One of the most interesting questions she asked was: Can Git store or commit an empty folder? We'll come back to this at the end :) Git is a distributed version control tool that helps in managing code and promotes collaboration. It was started by Linus Torvalds, who built the first version of Git in just 10 days. Before Git, Linus was using another version control system called BitKeeper for Linux development. But when its license was revoked, he decided to build his own system from scratch which eventually became Git. But what actually goes on under the hood? And why is Git so fast and efficient? 1.So how Git actually works? Git doesn't actually track files the way I assumed it did.It tracks the content. At its core, Git has something called an object database, which is where it stores everything as