src/package/Support/Git.php
public function getVersionFromGit($mode = null)
    {
        return $this->getFromGit(
            $this->makeGitVersionRetrieverCommand($mode),
            Constants::BUILD_CACHE_KEY
        );
    }
public function getVersionFromGit($mode = null)
    {
        return $this->getFromGit(
            $this->makeGitVersionRetrieverCommand($mode),
            Constants::BUILD_CACHE_KEY
        );
    }
public function getVersionFromGit ( $ mode = null ) { return $ this -> getFromGit ( $ this -> makeGitVersionRetrieverCommand ( $ mode ) , Constants :: BUILD_CACHE_KEY ) ; }
Get the current app version from Git.

@param null $mode

@return bool|mixed|null|string
Get the current app version from Git .