Branches: Parallel Universes of Your Project
“Create a new branch called feature/contact-form and switch to it”
Free AI prompt · The Optimize Book
A ready-to-use prompt from the chapter Git & Environments. Paste it into Claude, ChatGPT, Lovable, Bolt or any AI coding tool.
“I just got an API key from Resend for sending emails. Help me add it to my project safely.”
“Create a new branch called feature/contact-form and switch to it”
“Save my current progress with the message 'Add contact form with email validation'”
“Upload my latest changes to GitHub”
“Switch back to the main branch”
“Merge my feature/contact-form branch into main”
“I need to add my Stripe API key. Where do I put it so it stays secret?”