Better way to checkout branch