Process Flow - How branches are just files with hashes
Create branch file
Write commit hash inside
Git reads branch file
Uses hash to find commit
Checkout or update branch
Branch points to commit hash
Git stores each branch as a simple file containing the commit hash it points to. Git reads this file to know the current commit of the branch.