anchor.diff:      exit(1);
     }
   
  -  runGit('fetch upstream', 'fetch upstream');
  +  runGit('fetch $origin', 'fetch $origin');
     runGit('reset $commit --hard', 'check out master branch');
   
     String version = getFullTag();
  
positive.code:     exit(0);
    }
  
    if (getGitOutput('remote get-url upstream', 'check whether this is a flutter checkout') != kUpstreamRemote) {
      print('The current directory is not a Flutter repository checkout with a correctly configured upstream remote.');
      print('For more details see: https://github.com/flutter/flutter/wiki/Release-process');
      exit(1);
  
negative.code: const String kY = 'y';
  const String kZ = 'z';
  const String kCommit = 'commit';
  const String kOrigin = 'origin';
  const String kYes = 'yes';
  const String kHelp = 'help';
  
  const String kUpstreamRemote = 'git@github.com:flutter/flutter.git';
  