Add legit checkout regex matching branch checkout