public function getCommit($mode = null)
    {
        return $this->getFromGit(
            $this->makeGitHashRetrieverCommand($mode),
            Constants::VERSION_CACHE_KEY,
            $this->config->get('build.length', 6)
        );
    }