Add missing CACHE_DIR config entry. Use no cache when CACHE_DIR is not
set. Implement Git command benchmark for debug mode