Concept

Git metadata directory

An ordinary repository stores metadata under .git, including config, refs and objects. Some layouts use a gitfile or a separate directory. Do not edit internal files casually.

Formal Syntax & Structure

git syntaxgit
Git metadata directory

Working Example

Example Snippetgit
git rev-parse --git-dir
Git Reference