code: async function verifyTagName(tagName, execaOpts) {
    try {
      return (await execa('git', ['check-ref-format', `refs/tags/${tagName}`], execaOpts)).code === 0;
    } catch (error) {
      debug(error);
    }
  }
docs: Verify a tag name is a valid Git reference.
  
  @param {String} tagName the tag name to verify.
  @param {Object} [execaOpts] Options to pass to `execa`.
  
  @return {Boolean} `true` if valid, falsy otherwise.