Instead of having multiple `stub git` invocations, you can pass mutliple argument to a single `stub` invocation. E.g.:

```
stub git \
  "fetch --depth 1 origin +master : true" \
  "checkout -q -B master origin/master : true"
```