Ignore files outside the project?

I work on projects that typically have several non-iOS components, such as server code, or, dare I say it, apps for other, non-iPhone platforms. Usually those components are stored in the same source repository as the iOS project.


The problem I'm having is that when I commit in Xcode, it shows me changed files from all those other components, even if they are not part of the Xcode project directory.


I didn't used to have this problem with Subversion, but now that Xcode no longer supports Subversion, I had to switch to Git.


Is there some way I could configure Xcode such that it doesn't try to commit files from directories above the project root directory?


Moving the other code to separate Git repositories isn't a good option. We manage about a hundred projects for multiple clients, and keeping all the code for each client together in one Git repository is an important organizational tool for us (we also get a limited number of Git repositories with our source code provider).


Thanks,

Frank