getGitCommit

fun getGitCommit(): String?

Returns the commit sha if the project is in a Git repository. Returns null if a IOException had occurred.