title: git failed with error - is a directory add files inside instead
body: <p>I have created new MVC project in my existing solution.<br />
  While adding these new project to existing solution, I am getting below error.</p>
  <p>I am using VS 2019 now. Earlier, I was using VS 2017 in which everything works fine.</p>
  <p>These issue is occurring for all directory in project. e.g. <code>xml/ css/jquery</code>.<br />
  Even though we manually add those files in folder it still showing same error.</p>
  <p>Git failed with a fatal error.</p>
  <pre><code>error: mvctestproject/wwwroot/lib/jquery-validation-unobtrusive/: is a directory - add files inside instead
  fatal: Unable to process path mvctestproject/wwwroot/lib/jquery-validation-unobtrusive/
  </code></pre>