Source Tree error: 'git status' failed with code 1: error launching git: the filename or extension is too long
<p>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.</p>

<p>I have already tried with the command line </p>

<pre><code>git config --system core.longpaths true
</code></pre>

<p>to avoids the length of the paths in a Windows environment, but it does not wok.</p>

<p>Any idea?</p>

<p>But most important: why it has worked perfectly since the beginning and only now there is this problem?</p>

<p>P.S: the command line is working, I am forced to use this at the moment, but I prefer to use Source Tree in my job.</p>