Branches Git मा तपाईंलाई विकासको मुख्य लाइनबाट अलग हुन दেय्छ र अलगमा काम गर्न सक्षम गर्छ — मुख्य कोडलाई प्रभावित नगरी। तिनीहरू हल्का र Git कार्यप्रवाहको लागि केन्द्रीय हुन्छन्, समानान्तर काम र सुरक्षित प्रयोग सक्षम गर्छन्।
Branch भनेको के हो
A branch is a MOVABLE POINTER to a commit. The default is usually "main".
→ creating a branch = creating a new pointer (cheap/instant — not a copy of files)
→ commits on a branch advance that branch's pointer
→ branches let you work on different things in parallel, isolated from each other
Branches हुन्छन् (कमिटहरूको लागि मात्र सूचकहरू, प्रतिलिपिहरू नभएर) — त्यसैले branch बनाउनु र स्विच गर्नु द्रुत र सस्तो हुन्छ, यही कारणले Git branching धेरै प्रयोग गरिन्छ।
