Handle failing git config command.
Fix trailing whitespace.