checkout branch after init