$ man branches
Engineering · Version Control
Branches
Separate versions of your code that let you work on features without breaking the main version.
なぜ重要か
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.
どう使うか
Create a branch for each feature. Test it. Merge it when it works. Delete the branch when you're done. Keeps main clean.
関連用語