i am also getting the same error when trying to add a version from appstore connect
Post
Replies
Boosts
Views
Activity
This fixed my issue . you can also stage changes by right clicking them in xcode . open terminal navigate to you project and type - git commit -m "you commit details"