<p dir="auto">Here's an example:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/791485/13717982/e8178412-e7e5-11e5-8b49-86b6774fb5c2.PNG"><img src="https://cloud.githubusercontent.com/assets/791485/13717982/e8178412-e7e5-11e5-8b49-86b6774fb5c2.PNG" alt="capture" style="max-width: 100%;"></a></p>
<p dir="auto">Here's the code:<br>
<a href="http://pastebin.com/gwSzquA0" rel="nofollow">http://pastebin.com/gwSzquA0</a></p>
<p dir="auto">The cause lies in the for loop declaration. It happens for <code class="notranslate">i&lt;</code> , but not for <code class="notranslate">i &lt;</code>, so the parser does something wrong there. Note the extra space.</p>
<ul dir="auto">
<li>VSCode Version: 0.10.11</li>
<li>OS Version: win10 10586.164</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>open folder containing clone of remote origin master</li>
<li>click on git branch status area in bottom left corner, or enter ctrl+p or f1+&gt;Git: Checkout, and enter name of remote origin branch you want to local copy to reference.  the git ouput window shows "git checkout -q -b someTopicBranch" and "git fetch" were executed.</li>
<li>folder doesn't contain copy of remote origin topic branch so from command line enter "git.exe config -l --local" where you'll see that branch.someTopicBranch.remote/.merge entries are not present</li>
<li>from command line enter "git branch -u origin/someTopicBranch" or "git branch --set-upstream-to=someTopicBranch" to update local config to contain branch.someTopicBranch.remote/.merge entries</li>
<li>from vscode you can now use git | ... | pull == "git pull" to retrieve the contents of the remote origin someTopicBranch that already existed</li>
</ol>
<p dir="auto">My thinking is that steps 3 thru 5 should be automated for you in case where you are not looking to create new topic branch and optionally later push it into remote origin but rather create local repo topic branch into which you sync the details of remote origin copy of topic branch that already exists.</p>