Fix typo in git commit dialog.

#2435 @ussuri 
Also change the condition to `addedCnt != 1`: this will fix the "0 file added" to "0 files added".