Remove .git folder in validator.