---
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\nGit is essentially a persistent map of Keys and Values. Values are your file contents, and the Keys are unique 40-character strings (a SHA-1 hash) generated based on that content. When you save a file in Git, it doesn't care ..."
url: "https://hashnode.com/posts/inside-git-how-it-works-and-the-role-of-the-git-folder/696dd461f9a58b90a4d71472"
---

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

Discussion

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

How Git Works Internally Git is essentially a persistent map of Keys and Values. Values are your file contents, and the Keys are unique 40-character strings (a SHA-1 hash) generated based on that content. When you save a file in Git, it doesn't care ...

Jan 19 · 3 min read · how-git-works-by-rahul.hashnode.dev  
Read the article

-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#chaicohort](https://hashnode.com/tag/chaicohort)
-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#git](https://hashnode.com/tag/git)
-   [#how-git-works-internally](https://hashnode.com/tag/how-git-works-internally)

## Written by

[Rahul Ghosh](https://hashnode.com/@itsRahul007)

@itsRahul007

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

Software engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
