Software engineering, design, and psychology
First, checkout to main (or any other branch you want to clear from upstream branches)