I am running Sonoma 14.5 on an Intel MacBook Pro. I had installed Xcode 15 previously and wanted to play with Swift Command Line tools. I created the project and had Xcode create a Git repo. When I make changes, they are marked as modified but when I go to the Source Control manager, my username and email show up, but the commit button is disabled. I tried creating a new test project and it has the same problem. I followed the instructions in StackOverflow and in other developer forum posts. I manually updated the git config from the terminal. I also went in and confirmed that they show up in Xcode -> Settings -> Source Control -> Git. As I mentioned before, user name and email are showing in Xcode.
I can commit the changes in Terminal, but adding new changes still doesn't enable the commit button. I manually staged the files and it still didn't fix the problem. I created a new project and did not have Xcode create the git repo and then manually created the git repo from Terminal. Same problem.
I tried restarting Xcode and then rebooting the computer. I even uninstalled Xcode and reinstalled it. Still has the same problem.