Since upgrading to Xcode 7, I get the following message when committing and pushing to my Git repository from Xcode on my development laptop, a MacBook Pro.
The source control operation failed because the revision "XXXX.swift" could not be found.
My Git repository is hosted on a Mac mini also running Xcode 7.1, while my development is done on a MacBook Pro running El Capitan and Xcode 7.1.1
I have gone into Xcode->Preferences and deleted all references to the repositories, and created the project again from the repository into a new directory. If I make a simple change like adding a comment "// foo" to AppDelegate.swift and when trying to push back to the repository I get the message above, despite that pushing to the repository otherwise works fine.
All was fine under Xcode 6.x and Swift 1.2
I am puzzled that there is not more noise in the Forum on this issue