def adjust_ref(ref: str):
    """
    Refs should be adjusted, as an example HEAD -> should be removed
    @param ref: string containing the ref
    @return: correct ref string value to be passed to GitGraph.js library
    """
    if ref.startswith("HEAD"):
        return ref.split(" -> ")[1]
    return ref