add options `pretend` and `buildIgnore`

Adds the options `pretend` (log but don't perform git commands) and `buildIgnore` (don't change/write a `.gitignore` file)