pub fn get_head_sha<P: AsRef<Path>>(repo_path: P) -> Result<String, GitError>
Get the HEAD commit SHA.