title: is git submodules what I need?
body: <p>I have two repositories for two websites, but those two websites share the same framework.</p>
  
  <p>I wanted to make a dedicated repository for the framework itself but I'm not sure how would that work.</p>
  
  <p>What I currently do is that I develop the framework within website1 and then copy it to website2 each time I add new features. As you can see it's not very effective...</p>
  
  <p>I would like a separate repository for the framework, but I still need it to be within one of the two websites so I can keep working on it. <strong>The most important part is that I need to be able to deploy it to the other website in a simple way</strong></p>
  
  <p>What is the best solution for me? How can this be achieved?</p>
  
  <p>PS: <em>I'm using SourceTree with Bitbucket quit intensively for the past months so I'm fairly familiar with git, but I have never used the command line.</em></p>