removes caches from git