cd before checkout