DEV Community

Cover image for Git isn't magic
Purna Pattela
Purna Pattela

Posted on • Edited on

Git isn't magic

Every git repository has .git folder inside it. It will be created when we run git init. Its the folder responsible for git working.

What's Inside .git ?

That's it
.git/
├── HEAD
├── config
├── description
├── index
├── hooks/
├── info/
├── objects/
├── refs/
├── logs/
├── COMMIT_EDITMSG
├── FETCH_HEAD
├── ORIG_HEAD
└── packed-refs

Top comments (0)