Branches Git-এ আপনাকে main development line থেকে আলাদা হয়ে কিছু কাজ করার অনুমতি দেয় isolation-এ — main code-কে প্রভাবিত না করে। এগুলো lightweight এবং Git workflows-এর কেন্দ্রবিন্দু, যা parallel কাজ এবং safe experimentation সক্ষম করে।
একটি 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-এর pointers, copies নয়) — তাই branches তৈরি এবং switch করা দ্রুত এবং সাশ্রয়ী, যেটি Git branching-কে heavily ব্যবহার করার কারণ।
