Git Internals Repo


Example

A git repository is an on-disk data structure which stores metadata for a set of files and directories.

It lives in your project's .git/ folder. Every time you commit data to git, it gets stored here. Inversely, .git/ contains every single commit.

It's basic structure is like this:

.git/
    objects/
    refs/