title: GitHub: What is the best way to manage different versions of an app?
body: <p>I have an iOS app with two different versions, basically one is made to be published on the App Store (Online version) and the other one is for in-house distribution (Offline version).</p>
  
  <p>What I'm looking for is the best way to publish my code on GitHub, so that I can easily update both Xcode projects in the future, because only a portion of the code is different for the two versions.</p>
  
  <p>As I understand it, branches are made to be merged to 'master', but in my case, both versions need to be separated and only a few changes are required to be merged.</p>
  
  <p>I have tried to create a second branch for my GitHub repository, but I can't figure out if this is the easiest way to keep both projects updated together, or would it be better to create two separate repositories on GitHub?</p>
  
  <p>Thank you for your feedback!</p>