checkout branch first then pull