Running into this issue as well, I really hope this gets fixed soon. Like @iannis above, I have to frequently change my .gitconfig every time I want to do something with Swift Packages. It gets old quick. It's amazing to me how far behind Xcode is when it comes to supporting some pretty standard things.