Branch
Branch
A separate copy where you can experiment while the original stays untouched.
💡 It's marking up a photocopy with a red pen instead of the original draft. If you like the changes, you merge them in.
🤖 Say this to your AI
Create a new branch called 'design-renewal' and make the design changes there. If I like it, I'll merge it into main.
The key word is ‘Branch’. Including it helps AI understand you much more precisely.
📌 Good to know
Combining a branch into the original is called a 'merge'. Asking for that merge is called a 'pull request' (PR).
When to use it
- When you build a big new feature or make a change you're worried might break things
Also called: git branch, merge, pull request, pr, main branch, experiment safely, copy of code