Language / Technology

Why does Git have branches?

Short answer

Branches let people develop or test features and fixes separately while keeping the main line stable.

How it works

A branch alone does not make changes safe. Purpose, review, integration, and cleanup still matter.

Key point

The practical point is this: Purpose, review, integration, and cleanup still matter.

References