Get startedGet started for free

Correctly using branches

You have recently built a new feature for a website that produces a pop-up when a visitor has been idle on a page for more than 30 seconds, offering a small discount to entice them into making a purchase.

You've merged the discount-prompt branch back into main, but have noticed a new bug on the website where the discount code is not being accepted during the payment process. The discount-prompt branch has not yet been deleted.

What should you do?

This exercise is part of the course

Intermediate Git

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise