Branching in git allows for easy version control between different versions of the same code or new features that don’t need to interact with each other, like how each branch of a tree is separate, but still part of the same tree.
Vincent Driessen of nvie has a really comprehensive and standard model on how to properly use git’s branching, alongside diagrams.