Committing to switch branches