async def METHOD_NAME(
    vc_repo: VersionControlRepository,
    project_uuid: UUID,
    ref_id: RefID,
) -> Checkpoint:
    repo_id, commit_id = await vc_repo.as_repo_and_commit_ids(project_uuid, ref_id)
    assert repo_id  # nosec
    commit, tags = await vc_repo.get_commit_log(commit_id)
    return Checkpoint.from_commit_log(commit, tags)