pub fn get_diverged_commit(refer: String, cwd: Option<String>) -> Option<String>
Get the diverged commit from a particular git SHA or tag.