code: def current_git_hash():
      
      repo_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
      git_show = subprocess.Popen(
          'git rev-parse --short=6 HEAD',
          stdout=subprocess.PIPE,
          stderr=subprocess.PIPE,
          shell=True,
          cwd=repo_dir,
          universal_newlines=True,
          encoding='utf8'
      )
      hash_number = git_show.communicate()[0].partition('\n')[0]
      return hash_number
docs: Retrieve the current git hash number of the git repo (first 6 digit).
  
      :returns: 6 digit of hash number.
      :rtype: str