---
title: "Discussion on \"Inside Git How it works and the role of .git Folder\" | Hashnode"
description: "Discussion on \"Inside Git How it works and the role of .git Folder\". After u initialize a folder with \"git init\" command, git creates a folder name \".git\". As the folder name starts with \".\" it is hidden in most of the file explorers. It uses that folder to keep track of all the commits and changes you have made. Git ..."
url: "https://hashnode.com/posts/inside-git-how-it-works-and-the-role-of-git-folder/696a71e902b2556bc86a3486"
---

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

Discussion

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

After u initialize a folder with "git init" command, git creates a folder name ".git". As the folder name starts with "." it is hidden in most of the file explorers. It uses that folder to keep track of all the commits and changes you have made. Git ...

Jan 16 · 2 min read · subedihimal.hashnode.dev  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#git-folder](https://hashnode.com/tag/git-folder)
-   [#git-branches](https://hashnode.com/tag/git-branches)
-   [#git-reset](https://hashnode.com/tag/git-reset)
-   [#gitrevert](https://hashnode.com/tag/gitrevert)

## Written by

[Himal Subedi](https://hashnode.com/@subedihimal)

@subedihimal

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
