Inside Git: How It Works and the Role of the .git Folder
1. What is the .git folder? (Visual idea)
When you run:
git init
This gets created:
your-project/
├── index.html
├── style.css
├── script.js
└── .git/ ← 🧠 The brain of Git
Inside .git:
.git/
├── objects/ ← Stores all blobs, trees, commits
├── ...
shivaramwebdev.hashnode.dev3 min read