git-repo-info
Retrieves repo information without relying on the git command.
Usage
var getRepoInfo = require('git-repo-info');
var info = getRepoInfo();
info.branch
info.sha
info.abbreviatedSha
info.tag
info.lastTag
info.commitsSinceLastTag
info.committer     Â
info.committerDate
info.author
info.authorDate
info.commitMessage
info.root
info.commonGitDir
info.worktreeGitDir
When called without any arguments, git-repo-info will automatically lookup upwards
into parent directories to find the first match with a .git folder.
If passed an argument, it will be assumed to be the path to the repo's .git folder
to inspect.