Quick definition · 2 min Coding term
Branch
A branch is a parallel copy of your code where you can try changes safely, without touching the working version.
Think of it like
A “what if” sandbox. You experiment on a side copy; if it works, you fold it back in; if not, you toss it.
Example
You create a branch to add a risky new feature. The live version stays safe while you tinker.
Why it matters
Branches are how teams (and AI agents) work on many things at once without breaking each other’s code.
Where you’ll see it
GitHubGitCursor
Related terms