Read the Git project version by running ``git describe --tags`` in the current-working-directory.

    :return: Project version string

def __get_git_tag():
    """
    Read the Git project version by running ``git describe --tags`` in the current-working-directory.

    :return: Project version string
    """
    with open(os.devnull, 'wb') as devnull:
        version = subprocess.check_output(['git', 'describe', '--tags'], stderr=devnull)
        version = version.rstrip()
    if hasattr(version, 'decode'):
        version = version.decode('utf-8')
    return version