Don't require git for clean, gc, sample-config
@@ -255,6 +255,7 @@ def main(argv=None):
parser.parse_args(['--help'])
with error_handler(), logging_handler(args.color):
+ if args.command not in {'clean', 'gc', 'sample-config'}:
_adjust_args_and_chdir(args)
git.check_for_cygwin_mismatch()
