Checkout branch callback