title: How to fix git submodule update --init --recursive not pulling CMakeLists.txt?
body: <p>I have a project with several git submodules. I have <code>CMakeLists.txt</code> for each submodule and for the main project. When I <code>git clone</code> the main project, git pulls the main <code>CMakeLists.txt</code>. However when I do <code>git submodule update --init --recursive</code>, git pulls all the submodules, except the <code>CMakeLists.txt</code> in each submodule. Cloning the submodules invidually works properly. How do I fix this?</p>
  
  <pre><code>project/
    - CMakeLists.txt
    - src/
      - main.cpp
    - lib/
      - CMakeLists.txt
      - moduleA/
          -CMakeLists.txt
          - fooA.cpp
          - fooA.h
          - barA.cpp
          - barA.h
      - moduleB/
          - CMakeLists.txt
          - fooB.cpp
          - fooB.h
  </code></pre>