$ man branches

Engineering · Version Control

Branches

Separate versions of your code that let you work on features without breaking the main version.


why it matters

Main branch is what's live. Feature branches are where you experiment. You can try things, break them, fix them, and only merge to main when they're ready.

how you use it

Create a branch for each feature. Test it. Merge it when it works. Delete the branch when you're done. Keeps main clean.


related terms
Merge ConflictsGit
engineering & AI guideall terms →
ShawnOS.ai|theGTMOS.ai|theContentOS.ai