LFCA 88 🐧 Git Branching — Basics
Every Git repository has at least one branch. It is called main in modern repositories and master in older ones. The branch is a movable pointer to a commit. When you commit, the branch pointer moves forward to the new commit. When you create a new branch, you create a new pointer. When you switch…