It's an issue related to SourceTree. In version 4.2.9, they added a setting to the .gitconfig file that's breaking SPM.
.gitconfig
More info here: https://jira.atlassian.com/browse/SRCTREE-8176