title: Deploy code on multiple servers from same branch
body: <p>This is my situation.</p>
  
  <p>I have a project that has always been deployed on a single server. Our situation has changed, now the project is deployed on several servers internationally. We still have only one branch that we deploy so far. The project now contains generic code but also country-specific code.</p>
  
  <p>I want to change that but I do not know how. There are two possibilities for me. The first is to create one branch per country from my origin one. But before that I have to do some cleaning work to isolate the generic code and leave that specific code for each country. The disadvantage of this solution is that people can quickly be lost between many branches.</p>
  
  <p><a href="https://i.stack.imgur.com/dIBzp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dIBzp.png" alt="enter image description here"></a></p>
  
  <p>The second solution is to keep a single branch but I must update the code to create generic controllers that will redirect to specific controllers depending on the country. </p>
  
  <p><a href="https://i.stack.imgur.com/ZjShE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZjShE.png" alt="enter image description here"></a></p>
  
  <p>I am interested, if you think there are other solutions to remedy this problem.</p>