This function retrieves the information about the current (latest) git commit information in a specified repository directory.
Usage
get_git_commit(dir = getwd())Value
list with elements:
- HEAD
Contents of HEAD
- SHA
Unique commit identifier
- COMMIT_MSG
Commit message