Add a -d (dryrun) switch to fetch.sh.

This does exactly what you'd think: tells you what it's about to do
but doesn't do it.
Add GITMIRROR variable to override git URLs.