Revert "Thread Git cache cleaning"

This reverts commit f67b2433b7fa829dcc2f36c9c7a3f40d35cac11d.