Remove git directories before incremental caching

```ruby
allow(Dir).to receive(:glob).and_return(['git/config'])
```