Starting point to maintain a website (Test and production enviroment ) with git : <p>Here is the architecture of my project:
<a href="https://i.stack.imgur.com/PURbj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PURbj.png" alt="enter image description here"></a></p>

<p>2 different web servers, one for production environment and other one for test environment ( It contents developer1 folder and developer2 folder).</p>

<p>My question is : Using git how can configure it in order to : </p>

<p>case 1 :   </p>

<ul>
<li>Developer 1 can create branch "developer1.b1" based on master on
production side.</li>
<li>He works on it then he merges it to origin/developer1.b1 , </li>
<li>and he can see his changes in developer1.testServerDomain.com</li>
</ul>

<p>case 2 : </p>

<ul>
<li>Developers can push threir branch to origin master</li>
<li>then they can see theirs changes in productionServerDomain.com</li>
</ul>
