I have used Source Tree with the same repository and the same paths for months (in a Windows environment) then suddenly last Monday, this error has started to appear when the program is opening the repository.
I have already tried with the command line
git config --system core.longpaths true
to avoids the length of the paths in a Windows environment, but it does not wok.
But most important: why it has worked perfectly since the beginning and only now there is this problem?
Try git operations from the command line (fetch, checkout, branch, push, etc). If they have the same error, then you should take your question to a site like StackOverflow that has a larger number of git "power users", as compared to the UI-users that are subscribed to the "sourcetree" tag on this site.
If the command line works, then it sounds to me like you've got a candidate for a bug report at jira.atlassian.com.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs