constructor(ref, oid) {
    super(
      `Failed to checkout "${ref}" because commit ${oid} is not available locally. Do a git fetch to make the branch available locally.`
    )
    this.code = this.name = CommitNotFetchedError.code
    this.data = { ref, oid }
  }
@param {string} ref
@param {string} oid