private function getFileContent($search, GitRepository $git)
    {
        $cacheId = \md5(__FUNCTION__ . $search);
        if (!$this->cachePool->has($cacheId)) {
            $fileContent = $git->show()->execute($search);

            $this->cachePool->set($cacheId, $fileContent);

            return $fileContent;
        }

        return $this->cachePool->get($cacheId);
    }