title: Git not tracking a file from a folder - contents.json from .xcassets
body: <p>I have checked almost all the questions on SO but nothing has worked for me. The issue that I'm unable commit the <code>Contents.json</code> file of <code>.xcassets</code> whatsoever. Whenever I add new images to <code>.xcassets</code> the source control does list the images but not the <code>Contents.json</code> file. I'm using a bitbucket repository and not even <code>SourceTree</code> is showing this file in the uncommitted changes. Even tried adding all the files via terminal.</p>
  
  <pre><code>git add --all
  </code></pre>
  
  <p>Any guess why this is happening and what could possibly be the solution?</p>
  
  <p><strong>Update:</strong> The <code>.gitignore</code> file looks like:</p>
  
  <pre><code>ProjectName.xcworkspace/xcuserdata
  ProjectName.xcodeproj/xcuserdata
  *.xcscheme
  xcschememanagement.plist
  </code></pre>
  
  <p>And <code>.git/info/exclude</code> looks something like:</p>
  
  <pre><code>.DS_Store
  UserInterfaceState.xcuserstate
  </code></pre>