title: Push a local git branch to remote server for the first time
body: <p>I have used git for a long while now at various places of work but never had to set a project up to use git and I'm struggling to understand how, and execute successfully...</p>
  
  <p>I have a local folder which is a git repo:</p>
  
  <pre><code>c:\myDir\MyProject
  </code></pre>
  
  <p>I have a Linux server(with git installed) where I want push the local repo/site to, but I'm unsure how to create the bridge between them.</p>
  
  <p>I read that on my server I need to go into a dir that will hold the repo and do</p>
  
  <pre><code>git init --bare
  </code></pre>
  
  <p>But then what? How do I create the bridge to push from local and pull from remote?</p>
  
  <p>I've tried (from local):</p>
  
  <pre><code>git remote add origin ssh://myUrl.com
  </code></pre>
  
  <p>but then <code>git push origin master</code> gives <code>fatal: No path supplied</code> which I know is because I set it up wrongly</p>
  
  <p>Can anyone offer basic direction so I can get started?</p>