In this web content, the author explores the concept of git branches and the intuitive notion of a branch. They discuss how git branches are often misunderstood and offer their own intuitive model of a branch, comparing it to how git actually works. The author highlights that while the intuitive model is not technically correct, it aligns closely with how git is used in practice. They also discuss the limits of the intuitive model and the importance of explicit specification in git commands. The author concludes by mentioning the special status of the default branch in GitHub. Overall, the content provides insights into git branches and challenges common misconceptions surrounding them.
https://jvns.ca/blog/2023/11/23/branches-intuition-reality/