Learn more about cloning repositories
You have read-only access
Tito pointed out I'd broken -t (argv[optind] can't be before getulflags), and replaced the use of system() (and resulting security implications).