title: .git/config and .gitmodules not in sync
body: <p>I want to pull code from the referenced submodules. I tried <code>git submodule update --init</code> which does not do anything.</p>
  
  <p>Reading up, I realized that this could be perhaps because my .git/config file isnt set. 
  My .git/config does not contain anything about the submodule. </p>
  
  <p>.git/config:</p>
  
  <pre><code>[core]
      repositoryformatversion = 0
      filemode = true
      bare = false
      logallrefupdates = true
  [remote "origin"]
      url = ssh://ShubhamRathi@gerrit.opnfv.org:29418/opnfvdocs
      fetch = +refs/heads/*:refs/remotes/origin/*
  [branch "master"]
      remote = origin
      merge = refs/heads/master
  [remote "gerrit"]
      url = ssh://ShubhamRathi@gerrit.opnfv.org:29418/opnfvdocs.git
      fetch = +refs/heads/*:refs/remotes/gerrit/*
  [user]
      email = shubhamiiitbackup@gmail.com
  [branch "Testingdoc"]
      remote = origin
      merge = refs/heads/master
  </code></pre>
  
  <p>However my .gitmodule contains the references to the submodules</p>
  
  <pre><code>[submodule "docs/testing/docs/submodules/apex"]
      path = docs/testing/docs/submodules/apex
      url = https://gerrit.opnfv.org/gerrit/apex
  [submodule "docs/testing/docs/submodules/armband"]
      path = docs/testing/docs/submodules/armband
      url = https://gerrit.opnfv.org/gerrit/armband
  </code></pre>
  
  <p>My question is, how do I bring these both files in sync that on <code>git submodule update --init</code>, the relevant repositories are pulled up? </p>