import re


def is_str_supports_git_naming_convention(item):
    """
    validates that string can contain only letters, digits hyphen and dot.
    Also, String cannot end with dot
    """
    return bool(re.compile("^[a-zA-Z0-9-]*$").match(item))