title: Why does Visual Studio mark my added .cs files as "ignored"?
body: <p>I cloned an existing but almost empty project on my local machine through GitHub for Windows. Then I opened it in VS 2017 and added a few classes after what they all became marked up as &quot;ignored&quot; with red icons with &quot;minus&quot; sign on them.</p>
  <p>When I tried to make a commit, (I want to make commits and push through GitHub App), non of the files where pushed.</p>
  <p>Then I tried right-clicking on the files and adding them to source control. Then &quot;minus&quot; signs became &quot;+&quot;.</p>
  <p>I also thought maybe the problem lies in the fact that I didn't stage them. So I did (in VS). But I still cannot push these files. After an attempt to make a commit in GitHub app all my .cs files again become marked up with &quot;minus&quot; sign.</p>
  <p>What is the reason of it and how to make them not be signed as &quot;ignored&quot;?</p>