# The .git Directory — Git

Source: https://www.geekswithgeeks.com/en/git/git-dot-git-dir

> A quick look at where Git actually stores everything.

## Where the history lives

`.git/` holds the entire database: commits, branches, tags, and config. Delete it and the folder is no longer a Git repo — but your files stay.

## Never edit it by hand

Everything inside `.git/` is managed by Git commands — editing files there directly can corrupt the repository.
