Search notes:

.git/refs/heads

This directory stores heads (except when using packed refs). That is: it contains a file for each local branch. The name of the file matches the name of the branch. The file contains the hash of the hash of the latest commit for the corresponding branch.
Heads are a named reference to the commit at the tip of a branch.
This directory contains files that are named after branch names.

See also

Remote-tracking branches are found below ./.git/refs/remotes.
.git/refs
.git directory structure

Index