• get hash of the first commit in the repository

    Parameters

    • Optionalcwd: string | URL

      override the current working directory

    Returns Promise<string>