title: Can't add files to git repository
body: <p>I'm adding a new project to a new Git repository.</p>
  
  <p>I did <code>git init</code>, and when I do <code>git add .</code> it says :</p>
  
  <blockquote>
    <p><code>fatal: Not a git repository: MyProject-iOS/Frameworks/AFNetworking.git/../../../.git/modules/MyProject-iOS/Frameworks/AFNetworking.git</code></p>
  </blockquote>
  
  <p>Framework structure is very strange in the project, I inherited it from someone else.</p>
  
  <p>What to do and how to fix this?</p>