User Guide
API Reference
Return the git commit hash of the current directory.
Note
Will return a fatal: not a git repository string if the command fails.
str