Add a cache storage for git trees.