---
title: "Discussion on \"How Git Works Under the Hood — with an analogy of Library Archive\" | Hashnode"
description: "Discussion on \"How Git Works Under the Hood — with an analogy of Library Archive\". If you’ve used Git, you probably trust it blindly.\nYou run commands like git init, git commit, git checkout, git branch, and everything just works.\nBut at some point, a question pops up in your mind:\n\nWhere does Git actually store my code?\n\nIs it sav..."
url: "https://hashnode.com/posts/how-git-works-under-the-hood-with-an-analogy-of-library-archive/697cc5be45201edb3a09dba0"
---

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

Discussion

# [How Git Works Under the Hood — with an analogy of Library Archive](https://inside-git-underhood-of-git-folder.hashnode.dev/how-git-works-under-the-hood-with-an-analogy-of-library-archive?utm_source=hashnode&utm_medium=feed)

If you’ve used Git, you probably trust it blindly. You run commands like git init, git commit, git checkout, git branch, and everything just works. But at some point, a question pops up in your mind: Where does Git actually store my code? Is it sav...

Jan 22 · 4 min read · inside-git-underhood-of-git-folder.hashnode.dev  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#github](https://hashnode.com/tag/github)
-   [#github-actions-1](https://hashnode.com/tag/github-actions-1)
-   [#gitcommands](https://hashnode.com/tag/gitcommands)
-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#chaicohort](https://hashnode.com/tag/chaicohort)
-   [#git-internals](https://hashnode.com/tag/git-internals)

## Written by

[Sunti Mittal](https://hashnode.com/@sunit09)

@sunit09

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
