title: Unable to rename git branch to "master", pushes to remote with incorrect name
body: <p>Using <a href="https://stackoverflow.com/questions/9524933/renaming-a-branch-in-github">this</a> SO post as a reference, I was able to rename my <code>master</code> to <code>v1</code> and now I want to rename my <code>v2</code> branch to <code>master</code>. I've already changed the default branch to <code>v1</code> from GitHub, but when I attempt to rename <code>v2</code> to master, the local branch renames fine but for some reason it pushes <code>v2</code> name to remote. Here's the command line session:</p>
  
  <pre><code>Microsoft Windows [Version 10.0.10586]
  (c) 2015 Microsoft Corporation. All rights reserved.
  
  C:\Users\Mahi\Documents\GitHub\EasyPlayer&gt;git branch
    v1
  * v2
  
  C:\Users\Mahi\Documents\GitHub\EasyPlayer&gt;git branch -m master
  
  C:\Users\Mahi\Documents\GitHub\EasyPlayer&gt;git branch
  * master
    v1
  
  C:\Users\Mahi\Documents\GitHub\EasyPlayer&gt;git push origin :v2
  To https://github.com/Mahi/EasyPlayer.git
   - [deleted]         v2
  
  C:\Users\Mahi\Documents\GitHub\EasyPlayer&gt;git push origin master
  Counting objects: 39, done.
  Delta compression using up to 8 threads.
  Compressing objects: 100% (19/19), done.
  Writing objects: 100% (39/39), 8.17 KiB | 0 bytes/s, done.
  Total 39 (delta 9), reused 39 (delta 9)
  To https://github.com/Mahi/EasyPlayer.git
   * [new branch]      master -&gt; v2
  
  C:\Users\Mahi\Documents\GitHub\EasyPlayer&gt;
  </code></pre>
  
  <p>How do I properly rename my <code>v2</code> branch to <code>master</code>?</p>