docs: def get_dvcs_info():
      """Gets current repository info from git"""
      cmd = "git rev-list --count HEAD"
      commit_count = str(
          int(subprocess.check_output(shlex.split(cmd)).decode("utf8").strip())
      )
      cmd = "git rev-parse HEAD"
      commit = str(subprocess.check_output(shlex.split(cmd)).decode("utf8").strip())
      return {Constants.COMMIT_FIELD: commit, Constants.COMMIT_COUNT_FIELD: commit_count}