title: git remove duplicate remote URLs
body: <p>I was using <a href="https://stackoverflow.com/a/12795747/8520798">this method</a> to add multiple remote repository URLs. I by mistake added same remote url by using this command twice :<br></p>
  <pre><code>git remote set-url origin --push --add &lt;a remote&gt;
  </code></pre>
  <p>So now <code>git remote -v</code> shows this:</p>
  <pre><code>origin  https://github.com/&lt;user&gt;/&lt;repo&gt;.git (fetch)
  origin  https://github.com/&lt;user&gt;/&lt;repo&gt;.git (push) // remote-1
  origin  https://github.com/&lt;user&gt;/&lt;repo&gt;.git (push) // duplicate reference to same remote-1
  origin  https://bitbucket.com/&lt;user&gt;/&lt;repo&gt;.git (push) // remote-2 
  </code></pre>
  <p>So now, whenever i push, git pushes 3 times, assuming there are 3 URLs.<br>
  How can i remove this duplicate URL, while keeping the original &amp; the new remote reference.</p>