Git branch

برنامه‌نویسی 1 views

Persian equivalent شاخهٔ گیت

In plain language A Git branch names the latest commit on a line of development.

Short definition It is a movable reference to a commit and advances as you commit on that branch.

Detailed explanation and example

You can branch from main to work on a fix independently. Creating a branch does not duplicate all the repository’s files.

Reference