title: Setting up a git repository on a openSuse VPS
body: <p>I just got hold of an openSuse 10.3 VPS. I really don't know much about Unix and SSH and this stuff but I'd like to use my server to host a GIT repository. This seems simple enough to me...</p>
  
  <p>Here is what I did:</p>
  
  <p>I SSHed into my server and installed GIT (I guess), simply by entering</p>
  
  <pre><code># yast --install git
  </code></pre>
  
  <p>Then some magic happened and obviously, git was installed. Great! I also created a user:</p>
  
  <pre><code># git config --global user.name ...
  # git config --global user.email ...
  </code></pre>
  
  <p>Then, I copied the source code from my local disk to the server. Since I don't really know where to put such stuff on an openSuse, I chose home/myRepository</p>
  
  <p>Next, I created a repository there and added the existing files, using the following commands:</p>
  
  <pre><code># cd home/myRepository
  # git init
  # git add .
  # git commit -m 'Add code'
  </code></pre>
  
  <p>As far as I can tell, everything worked. E.g. git log shows my commit.</p>
  
  <p>No here are my questions:
  1) Did I do everything fine so far? Would home/fooBar be an appropriate directory to hold a repository?
  2) More important: How on earth do I access the repo from my local machine= I wanted to create a local clone with Xcode 4, using the URL </p>
  
  <pre><code>git://123.456.789.012//home/myRepository
  </code></pre>
  
  <p>but this obviously didn't work. I have no clue, wether this URL is correct. Also, do I have to create a new user, to access the repository from my local machine? </p>
  
  <p>You see, I've quite a lot of questions and I'm obviously lacking some basics. I googled  for quite some time but I didn't find a guide suitable for my problems. Any answers and helpful links would be highly appreciated. Thanks!</p>