Checkout correct branch