code: def __get_git_tag():
      
      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
docs: Read the Git project version by running ``git describe --tags`` in the current-working-directory.
  
      :return: Project version string