title: Unable to track files within Git submodules
body: <p><strong>Problem:</strong> to add files at <code>./shells/smallApps/*</code> to Git at <code>./.git/</code> when I do not have the files at <code>./.git/info/exclude</code> nor at any <code>.gitignore</code> -files.</p>
  
  <p>This question is based on <a href="https://stackoverflow.com/questions/1081173/unable-to-track-files-in-long-paths-by-git">this tread</a> where the problem is not solved completely.</p>
  
  <p>I run </p>
  
  <pre><code>$git status                                                                                                                                          ~/bin
  # On branch master
  nothing to commit (working directory clean)
  $git ls-files                                                                                                                                        ~/bin
  Screen/dev/vim-open.screen
  --- cut ---
  </code></pre>
  
  <p>I note that I do not have the files "shells/smallApps/*" at my Git</p>
  
  <pre><code>$ls shells/smallApps/                                                                                                                                ~/bin
  devTodo     extract     
                                                                                                                                               ~/bin
  </code></pre>
  
  <p>I want to add them to my Git by running</p>
  
  <pre><code>$git add shells/smallApps/devTodo shells/smallApps/extract
  fatal: Path 'shells/smallApps/devTodo' is in submodule 'shells/smallApps'
  $git add .         
  </code></pre>
  
  <p>I note that the files are not added to my Git for some reason such that</p>
  
  <pre><code>$git status                                                                                                                                          ~/bin 
  # On branch master
  nothing to commit (working directory clean)
  </code></pre>
  
  <p>I do not have the files at .git/info/exclude nor at .gitignore -files.</p>
  
  <p><strong>What does the last warning mean?</strong></p>