---
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\". How Git works Internally?\nMany people think that git keeps file difference, but it is not the case. Actually what git does that it keeps snapshots of different versions.\nEvery time you commit, Git takes a snapshot of your project and stores it intern..."
url: "https://hashnode.com/posts/inside-git-how-it-works-and-the-role-of-the-git-folder/697c6fbec8525549e123e17b"
---

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

Discussion

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

How Git works Internally? Many people think that git keeps file difference, but it is not the case. Actually what git does that it keeps snapshots of different versions. Every time you commit, Git takes a snapshot of your project and stores it intern...

Jan 30 · 3 min read · inside-gitfolder.hashnode.dev  
Read the article

-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#chaicode-webdev-cohort-2026](https://hashnode.com/tag/chaicode-webdev-cohort-2026)
-   [#gitfolder](https://hashnode.com/tag/gitfolder)
-   [#blobtreecommit](https://hashnode.com/tag/blobtreecommit)

## Written by

[Rahul Rajak](https://hashnode.com/@dev-thinker)

@dev-thinker

  
[View profile](https://hashnode.com/@dev-thinker)

enthusiast developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
