commit to switch branches