title: How to commit a project file inside a submodule?
body: <p>More or less, I have managed to have a main Git and a submodule with this doc: <a href="https://git-scm.com/book/en/v2/Git-Tools-Submodules" rel="nofollow noreferrer">https://git-scm.com/book/en/v2/Git-Tools-Submodules</a></p>
  
  <p>But how to version a main project file located in the submodule (for example the submodule setups)?</p>
  
  <p>Here is my tree of directories:</p>
  
  <ul>
  <li>main project
  
  <ul>
  <li>dir1</li>
  <li>dir2</li>
  <li><em>submodule</em>
  
  <ul>
  <li><em>core</em></li>
  <li><strong>setups</strong> ← This file belongs to the main project</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>Note: I'm using gitwin and tortoisegit.</p>