get_latest_commit
Note
This returns the latest commit from the default branch as specified on
GitHub, which will not necessarily be the same as information returned from
gert::git_info if the HEAD of a local repository does not point to the
same default branch.
See also
Other github:
get_default_github_branch(),
get_gh_token(),
use_github_action_pkgcheck()
