Branches Git मध्ये तुम्हाला मुख्य विकास लाइनपासून वेगळे होऊन अलगीकरण मध्ये काहीतरी काम करण्यास अनुमती देतात — मुख्य कोडला प्रभावित न करता. ते हलके आणि Git workflows मध्ये केंद्रीय आहेत, समांतर कार्य आणि सुरक्षित प्रयोग सक्षम करतात.
एक 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 आहेत (फक्त commits ला पॉइंटर्स, प्रती नाहीत) — तर branches तयार करणे आणि स्विच करणे वेगवान आणि स्वस्त आहे, ज्यामुळे Git branching भारीपणे वापरले जाते.
