public function makeGitVersionRetrieverCommand($mode = null)
    {
        $mode = is_null($mode) ? $this->config->get('version_source') : $mode;

        return $this->searchAndReplaceRepository(
            $this->config->get('git.version.'.$mode)
        );
    }