Faster check for trailing whitespace
Handle the special case of a fresh repos

Redirect STDERR to STDOUT when using Kernel#`