title: fatal- 'origin' does not appear to be a git repository
body: <p>I created a remote repo then create a local one locally:</p>
  
  <pre><code>git init
  </code></pre>
  
  <p>then added the files i need using <code>git add</code> then <code>git commit  -m "something"</code></p>
  
  <p>finally <code>git push origin master</code></p>
  
  <p>I got this error fatal: </p>
  
  <pre><code>'origin' does not appear to be a git repository
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights
  and the repository exists.
  </code></pre>
  
  <p>should i like the remote and local in some command or something? and if so is it ok if i already added and commited or should i start over locally?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Apparently i should add <code>git remote add origin ssh://git@example.com:1234/myRepo.git
  </code> but what should i replace that ssh with as in where can i find my version of what i should add.</p>
  
  <p>Got this error :</p>
  
  <pre><code>! [rejected]        master -&gt; master (fetch first)
  error: failed to push some refs to 
  hint: Updates were rejected because the remote contains work that you do
  hint: not have locally. This is usually caused by another repository pushing
  hint: to the same ref. You may want to first integrate the remote changes
  hint: (e.g., 'git pull ...') before pushing again.
  hint: See the 'Note about fast-forwards' in 'git push --help' for details.
  </code></pre>