title: push to remote repo gives the error - there are still refs under
body: <p>I am trying to push code to a remote repo -</p>
  
  <pre><code>git push uat release/1.1:release
  Counting objects: 4047, done.
  Delta compression using up to 2 threads.
  Compressing objects: 100% (1679/1679), done.
  Writing objects: 100% (4047/4047), 3.38 MiB | 1.79 MiB/s, done.
  Total 4047 (delta 2160), reused 3666 (delta 1909)
  remote: Switched to branch 'release'
  To ubuntu@ubuntu-jvm:/repos/tms/uat
   * [new branch]      release/1.1 -&gt; release
  error: there are still refs under 'refs/remotes/uat/release'
  error: Cannot lock the ref 'refs/remotes/uat/release'.
  </code></pre>
  
  <p>How do I resolve the above error.</p>