lib/git/git_is_touched: Speed up (#706)
lib/git/git_is_touched: Speed up (#706)

* lib/git/git_is_touched: Speed up

This used to use `git status --porcelain`, which by necessity needs to
check the entire repo for all kinds of changes, just to figure out if
there are any.

Instead, we now use git commands that can exit early.

In large repos, this can be faster by a factor of 15 or so.

Fixes #624.

* Fix return status

`git diff` also returns 1 if there *is* a diff.

scorphus/oh-my-fish,oh-my-fish/oh-my-fish,oranja/oh-my-fish,oh-my-fish/oh-my-fish,eugenesvk/oh-my-fish,oranja/oh-my-fish,eugenesvk/oh-my-fish,bobthecow/oh-my-fish,wangyung/oh-my-fish,wangyung/oh-my-fish,scorphus/oh-my-fish