Application development - Concept
Branch
A separate line of code changes that can be worked on without altering the main version
What's it for?
Lets someone work on a change separately without disturbing the main version until it is ready.
For example…
A developer works on a separate branch before merging the change
A developer creates a branch for a payment fix, tests it separately, then merges it back into the main code once approved
Think of it like…
Editing a scene separately from the main cut of a film, then deciding later whether to add it back in