async function verifyAuth(repositoryUrl, branch, execaOpts) {
  try {
    await execa('git', ['push', '--dry-run', repositoryUrl, `HEAD:${branch}`], execaOpts);
  } catch (error) {
    debug(error);
    throw error;
  }
}
async function verifyAuth(repositoryUrl, branch, execaOpts) {
  try {
    await execa('git', ['push', '--dry-run', repositoryUrl, `HEAD:${branch}`], execaOpts);
  } catch (error) {
    debug(error);
    throw error;
  }
}
async function verifyAuth ( repositoryUrl , branch , execaOpts ) { try { await execa ( 'git' , [ 'push' , '--dry-run' , repositoryUrl , ` ${ branch } ` ] , execaOpts ) ; } catch ( error ) { debug ( error ) ; throw error ; } }
Verify the write access authorization to remote repository with push dry-run.

@param {String} repositoryUrl The remote repository URL.
@param {String} branch The repositoru branch for which to verify write access.
@param {Object} [execaOpts] Options to pass to `execa`.

@throws {Error} if not authorized to push.
Verify the write access authorization to remote repository with push dry - run .
Verify auth for the branch