A branch is a movable name for a commit. A commit records a snapshot and, usually, its parent commit. A branch lets us continue from a chosen snapshot without moving another branch name. The commits already shared are not copied into separate directories.
A---B main, map-key (HEAD)
A and B stand for commit IDs, not literal Git output. Both branch names point to B. HEAD usually identifies the checked-out branch, here map-key. If we commit C there, only that branch name advances:
A---B main
\
C map-key (HEAD)
main is a convention, not a Git requirement; another repository may use a different primary branch name. A branch is local unless separately shared. Creating one neither publishes work nor guarantees that changes cannot later conflict.