title: Git: says origin already exists on "NEW" (init) repository, using shell but installed Github for Windows
body: <p>I installed Git for Windows, although I am using the shell not the Windows interface.</p>
  
  <p>If I do a <code>git init</code>, and then try and do a </p>
  
  <pre><code> git remote add origin git@github.com:someuser/testme.git
  </code></pre>
  
  <p>I get the following error</p>
  
  <pre><code> fatal: remote origin already exists.
  </code></pre>
  
  <p>So I do a </p>
  
  <pre><code> git remote -v
  </code></pre>
  
  <p>and it returns the following</p>
  
  <pre><code>origin
  upstream
  </code></pre>
  
  <p>So it appears its there but has no URL set, I don't understand why it's there?</p>
  
  <p>If I do a </p>
  
  <pre><code> git remote rm origin
  </code></pre>
  
  <p>it produces this</p>
  
  <pre><code> error: Could not remove config section 'remote.origin'
  </code></pre>
  
  <p>It says that it can't remove the remote.origin config section; I checked the .gitconfig under my home directory and I don't see anything.</p>
  
  <p>Anyway I was able to remedy this by using</p>
  
  <pre><code> git remote set-url origin git@github.com:someuser/testme.git
  </code></pre>
  
  <p>But I am getting confused as I have used Git before and this never happened.</p>
  
  <p>Could this be something to do with Git for Windows?</p>