---
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\". For a long time, I used Git without really thinking about what it was doing. I ran git add, followed it with git commit, and things mostly worked.\nThe moment I became curious was when I accidentally opened the .git folder. It was full of strange file..."
url: "https://hashnode.com/posts/inside-git-how-it-works-and-the-role-of-the-git-folder/6967d1718e420016a8b8a70d"
---

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

Discussion

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

For a long time, I used Git without really thinking about what it was doing. I ran git add, followed it with git commit, and things mostly worked. The moment I became curious was when I accidentally opened the .git folder. It was full of strange file...

Jan 14 · 5 min read · mastering-git-fundamentals.hashnode.dev  
Updated Jan 30  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#insidegit](https://hashnode.com/tag/insidegit)
-   [#howgitworks](https://hashnode.com/tag/howgitworks)
-   [#gitcommands](https://hashnode.com/tag/gitcommands)
-   [#cohort2026](https://hashnode.com/tag/cohort2026)
-   [#chaicode](https://hashnode.com/tag/chaicode)

## Written by

[Somnath Satapathy](https://hashnode.com/@satapathy)

@satapathy

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
