async function gitGetNote(ref, execaOptions) {
  return (await execa("git", ["notes", "--ref", `${GIT_NOTE_REF}-${ref}`, "show", ref], execaOptions)).stdout;
}
Get the note associated with a Git reference.

@param {String} ref The ref to get the note from.
@param {Object} [execaOpts] Options to pass to `execa`.