private function fetchCurrentCommit(GitRepository $git)
    {
        return \json_decode(
            \sprintf(
                '[%s]',
                // git show --format=$this->logFormat() --quiet
                $git->show()->format($this->logFormat())->execute('--quiet')
            ),
            true
        );
    }