

Lesson 02 · 11 min
Branches, switching, merge
A branch is a movable pointer to a commit. A feature lives separately, then gets merged.
11 minLesson 2 of 8Practice includedAsk AI on any point
main (or master) is an ordinary branch, not a shrine. git branch feature creates a pointer. git switch feature moves the working folder onto that line. New commits go into feature. main stays put until you merge.
Sign in to continue
The rest of this lesson opens after sign up
The first lesson of every course is open without an account. To read on, solve the practice and use Ask, create a free account or log in.