make git commands fail nicely