def _get_commit_hash_from_revision_param(revision_param):
    return _execute_local_git_command('rev-parse', '--verify', revision_param).strip()
Get the full git commit hash from a given revision parameter (branch name, short hash, etc.)
dataset/ETHPy150Open box/ClusterRunner/app/util/autoversioning.py/_get_commit_hash_from_revision_param