checkout corresponding branch