git .git directory - ghdrako/doc_snipets GitHub Wiki
| name | description | example | 
|---|---|---|
| HEAD | file that contain current branch | ./git/HEAD:  ref: refs/heads/main  | 
| branch | stores in folder refs/heads as file contain one commit id | ./git/refs/heads/main:  <40 char commit id>  | 
| commit | file containing its parent's, message, tree, author | .git/objects/<40 char commit id> |