Cleaning git directories