---
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\". Stop memorizing Git commands. Learn how Git works under the hood: the .git folder, blobs, trees, commits, hashes, and what add and commit really do."
url: "https://hashnode.com/posts/inside-git-how-it-works-and-the-role-of-the-git-folder/6ad181921c14128de6e313d2"
---

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

Discussion

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

Stop memorizing Git commands. Learn how Git works under the hood: the .git folder, blobs, trees, commits, hashes, and what add and commit really do.

Oct 16 · 3 min read · hardikdotdev.hashnode.dev  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#github](https://hashnode.com/tag/github)
-   [#version-control](https://hashnode.com/tag/version-control)
-   [#git-internals](https://hashnode.com/tag/git-internals)
-   [#how-git-works](https://hashnode.com/tag/how-git-works)
-   [#git-for-beginners](https://hashnode.com/tag/git-for-beginners)
-   [#git-objects](https://hashnode.com/tag/git-objects)
-   [#git-commit](https://hashnode.com/tag/git-commit)
-   [#git-add](https://hashnode.com/tag/git-add)
-   [#git-folder](https://hashnode.com/tag/git-folder)
-   [#git-hash](https://hashnode.com/tag/git-hash)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Hardik Babla](https://hashnode.com/@hardikbabla)

@hardikbabla · dehradun, india

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

Btech CSE l Learning Full-Stack @ ChaiCode l Learning in Public 🚀

## Responses 2

Markdown supported · ⌘↵ to post

[StackShortlist](https://hashnode.com/@veristria)

[Oct 16](https://hashnode.com/posts/inside-git-how-it-works-and-the-role-of-the-git-folder/6ad181921c14128de6e313d2/comment/6ad1bcf6e92aa9b5aac30fab)

The blob, tree, commit breakdown is what finally made Git click for me years ago. Once you see a commit is just a pointer to a tree plus a parent, branches stop feeling scary. Good idea to pair this with the beginner post.

[Hardik Babla](https://hashnode.com/@hardikbabla)

[Oct 20](https://hashnode.com/posts/inside-git-how-it-works-and-the-role-of-the-git-folder/6ad181921c14128de6e313d2/comment/6ad1bcf6e92aa9b5aac30fab#reply-6ad76d63b7a10c7ed2f4e955)

thanks🙏🏻
