When enabling Git Repository Source Control for a new project on Xcode 7, it shows:

However, even after I setup user.name and user.email in terminal:
git config --global user.name "John"
git config --global user.email "[email protected]"
I checked and see from Terminal using
git config --global -l
The result shows: 
I also checked local config in the project folder using:
git config --local -l
user.name and user.email were not set locally.
But I still cannot commit and the same message from Xcode pop up. Any ideas what's going wrong? Please help!
Found the solution:

and saved. Side Note: about how to find the hidden .git in project directory. Xcode 5 - remove source control for project Show hidden file in Mac
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With