Git & GitHub
Branch
An isolated, parallel version of your project where you can work without affecting the main code.
Reviewed by the RadarTrek editorial team · June 2026
A branch is a separate line of development inside a repository. Changes made on a branch don't affect other branches until you merge them back in. This lets you build features, fix bugs, or experiment freely, then bring the work into the main branch only once it works.
Why it matters
- —Branching means you can experiment without risking the working version of your project.
- —Every feature or fix typically gets its own branch, named after what it does.
- —main (or master) should stay stable — untested code lives on branches until it's ready.
Where to learn this
🎓
Branching: Work Without Risk
Git & GitHub course
This is the exact lesson that covers this term in depth — with examples, diagrams, and a hands-on exercise.