---
title: "Discussion on \"Inside Git: How It Works and the Role of the .git Folder\" | Hashnode"
description: "Discussion on \"Inside Git: How It Works and the Role of the .git Folder\". 1. What is the .git folder? (Visual idea)\nWhen you run:\ngit init\n\nThis gets created:\nyour-project/\n├── index.html\n├── style.css\n├── script.js\n└── .git/   ← 🧠 The brain of Git\n\nInside .git:\n.git/\n├── objects/   ← Stores all blobs, trees, commits\n├── ..."
url: "https://hashnode.com/posts/inside-git-how-it-works-and-the-role-of-the-git-folder/696b90c907aa331fd53e5123"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Inside Git: How It Works and the Role of the .git Folder](https://shivaramwebdev.hashnode.dev/inside-git-how-it-works-and-the-role-of-the-git-folder?utm_source=hashnode&utm_medium=feed)

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 ├── ...

Jan 17 · 3 min read · shivaramwebdev.hashnode.dev  
Read the article

-   [#webdev2026](https://hashnode.com/tag/webdev2026)
-   [#chaicode](https://hashnode.com/tag/chaicode)

## Written by

[Shivaram Thalloju](https://hashnode.com/@ShivaramWebdev)

@ShivaramWebdev

  
[View profile](https://hashnode.com/@ShivaramWebdev)

I write code

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
