git branch command ကို branches များကို စီမံခန့်ခွဲရန်သုံးသည်။
• git branch: Local branches အားလုံးကို list ပြရန်
• git branch <branch_name>: Branch အသစ်တစ်ခု တည်ဆောက်ရန်
bash
# List all branches (* indicates current branch)
git branch
# Create a new branch named "new-feature"
git branch new-featureYou should see
(Terminal တွင် branch list ပေါ်လာမည်၊ ထို့နောက် 'new-feature' branch အသစ်တစ်ခု တည်ဆောက်ပြီးသွားမည်)