title: Git setup and pushing local repo to a virtualbox vm remote repo
body: <p>New to version control completely, and trying my hand at using git for web development.</p>
  
  <p>My setup is a Windows host with an Ubuntu guest (using Virtualbox). SSH works between them.</p>
  
  <p>I'm simply trying to get my head around all the "basic" commands by trying to "convert" one of my existing website's root directory to a "git" repo, then attempting to mirror that repo to the remote repo which I want on the Ubuntu instance's /var/www/html folder.</p>
  
  <p>It appears I have the "repo" part set up on both sides, but I keep failing at pushing the local directory and files to the VM.</p>
  
  <p>I'm getting a little lost with all the tutorials and blogs. Some mention command line stuff, some recommend GUI applications... bit overwhelming. I'm using "Git for Windows" on host and standard git on guest.</p>
  
  <p>I have this on Guest:</p>
  
  <pre><code>web@web-VirtualBox:/var/www/html/repos/zen.git$ sudo git init --bare
  Initialized empty Git repository in /var/www/html/repos/zen.git/
  web@web-VirtualBox:/var/www/html/repos/zen.git$ ls
  branches  config  description  HEAD  hooks  info  objects  refs
  </code></pre>
  
  <p>How do I now push all the content on my local website's root directory to the guest using the git commands?</p>
  
  <p>EDIT: wanting to learn the command line stuff first before using any GUI applications. Right now I have "GUI Bash" and "GUI Cmd" available on the Windows host.</p>