Remove git directories before incremental caching

If you could left align these, that would be great :smile: