title: Initializing private repositories on production server
body: <p>What I want to do now is to initialize a private repository on my production server in to app's www folder (ex: /var/www/app.com/web/) and then clone it as a staging repository to my testing site (ex: /var/www/test.com/web/app.com/) and finaly clone from staging to local to work with the code.</p>
  
  <p>Am I planning it the right way?</p>
  
  <p>I am following these tutorials to learn more about setting the "git server" and initialize private repositories:</p>
  
  <ul>
  <li><a href="http://progit.org/book/ch4-4.html" rel="nofollow">http://progit.org/book/ch4-4.html</a></li>
  <li><a href="https://moocode.com/posts/6-code-your-own-multi-user-private-git-server-in-5-minutes" rel="nofollow">https://moocode.com/posts/6-code-your-own-multi-user-private-git-server-in-5-minutes</a></li>
  <li><a href="http://www.layeredthoughts.com/git/private-remote-git-repositories-ubuntu-linode" rel="nofollow">http://www.layeredthoughts.com/git/private-remote-git-repositories-ubuntu-linode</a></li>
  </ul>
  
  <p>One last question, this tutorial about A Successful Git Branching Model where would apply? On the main private repository (production server), local, or mixed? I haven't read it completely yet, I'll do it asap.</p>
  
  <p>EDIT:</p>
  
  <ul>
  <li>If it matters, I am trying to do so on a server running ISPConfig configuration.</li>
  <li>It's not a must to work/be as mentioned above, if there is a "healthier" way... glad to learn about it.</li>
  </ul>
  
  <p>This <a href="http://www.howtoforge.com/the-perfect-subversion-server-debian-lenny-ispconfig-3" rel="nofollow">http://www.howtoforge.com/the-perfect-subversion-server-debian-lenny-ispconfig-3</a> and this <a href="http://www.howtoforge.com/installing-subversion-and-configuring-access-through-different-protocols-on-ubuntu-11.10" rel="nofollow">http://www.howtoforge.com/installing-subversion-and-configuring-access-through-different-protocols-on-ubuntu-11.10</a> to GIT version is what I kinda had in mind</p>