clear working dir before branch