I recently upgraded to OSX Sierra (from El Capitan) and to Xcode 9. I removed all compatibility issues (such as auto-detection issues) and would like to complete my local gitrep.
The following error appears:

I thought it might be the same error that appeared in Xcode 7 mentioned here: Xcode and Git Source Control: "Working copy of XXXXX failed to commit files"

But this is not so. I tried the solution mentioned above. Username and EMail are set correctly. I saved everything, tried to restart the machine and several other small things. Nothing worked - I cannot commit.
Any help was appreciated.
EDIT
I earned by doing manual and adding changes to
git commit -a -m "Fixes"
I will keep an eye on this if this happens again when I make more changes and let me know here if that is the case.
source share