title: Make change to a git submodule, and keep the changes
body: <p>I've cloned a git submodule of one of my libraries into a project I'm working on. The thing is that, after cloning, I need to change some lines in the cloned submodule, <strong>but I don't want to push those changes into the original repository</strong>.</p>
  
  <p>I want those changes to stay in the superproject. Is this possible? How can I achieve that?</p>
  
  <p>EDIT: As @GoZoner said, basically its:</p>
  
  <ol>
  <li>git clone  foo;</li>
  <li>cd foo;</li>
  <li>git submodule init;</li>
  <li>git submodule update;</li>
  <li>cd path/to/submodule;</li>
  <li>git checkout master;</li>
  <li><strong>Make changes to the submodule</strong></li>
  <li>git commit -am "Something";</li>
  <li>git push origin (the superproject);</li>
  </ol>
  
  <p>Then when I clone the superproject in another computer (up to step 4), I want those changes to be saved, <em>in the superproject</em>.</p>