title: fatal: Not a git repository: /Users/Mathias/Projects/punycode.js/.git/modules/vendor/docdown
body: <p><img src="https://i.stack.imgur.com/IkMya.png" alt="enter image description here"></p>
  
  <p>I got "fatal: Not a git repository" when performing git add node_modules, which is a node module directory. </p>
  
  <p>it looks like one of the modules triggers this msg: </p>
  
  <p>"/Users/Mathias/Projects/punycode.js/.git/modules/vendor/docdown"</p>
  
  <p>I searched all "fatal: Not a git repository" on stackoverflow and tried the "git init" approach. It doesn't work in my situation. </p>
  
  <p>Can you help? </p>