---
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\". Most of us use Git commands like git add, git commit and git push. We know what to type but we don’t know what actually happens inside.\nYou don’t know where your code history is actually stored? How git is tracking your history? Or how Git knows what..."
url: "https://hashnode.com/posts/how-git-works/6978f253ead51482f82901a9"
---

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

Discussion

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

Most of us use Git commands like git add, git commit and git push. We know what to type but we don’t know what actually happens inside. You don’t know where your code history is actually stored? How git is tracking your history? Or how Git knows what...

Jan 27 · 3 min read · blogs.kshitijgecs.dev  
Updated Jan 30  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#github](https://hashnode.com/tag/github)
-   [#git](https://hashnode.com/tag/git)
-   [#vcs](https://hashnode.com/tag/vcs)
-   [#version-control](https://hashnode.com/tag/version-control)

## Written by

[Kshitij Kumar](https://hashnode.com/@kshitiij)

@kshitiij

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

Kshitij Kumar

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
