title: git push fails with deny updating hidden ref
body: <p>I've a repository for my dotfiles and went to push changes from a branch only to encounter...</p>
  <pre class="lang-bash prettyprint-override"><code>$ git push
  Enumerating objects: 46, done.
  Counting objects: 100% (46/46), done.
  Writing objects: 100% (46/46), 3.20 MiB | 1.52 MiB/s, done.
  Total 46 (delta 0), reused 0 (delta 0)
  To gitlab.com:auser/dotfiles.git
   ! [remote rejected] kimura -&gt; origin/kimura (deny updating a hidden ref)
   ! [remote rejected] master -&gt; origin/master (deny updating a hidden ref)
  error: failed to push some refs to 'git@gitlab.com:auser/dotfiles.git'
  </code></pre>
  <p><a href="https://stackoverflow.com/a/34266401">This thread</a> suggests its because pull requests made on origin and links to a <a href="http://christoph.ruegg.name/blog/git-howto-mirror-a-github-repository-without-pull-refs.html" rel="nofollow noreferrer">blog post</a> with solution of how to skip this, although I do not explicitly have <code>refs/pull</code> in the path thats being rejected so it may be a different issue but I couldn't find much info on this so figured I try the proposed solution and updated my config to...</p>
  <pre class="lang-ini prettyprint-override"><code>[core]
      repositoryformatversion = 0
      filemode = true
      bare = false
      logallrefupdates = true
  [remote &quot;origin&quot;]
       url = git@gitlab.com:auser/dotfiles.git
       fetch = +refs/heads/*:refs/heads/*
       fetch = +refs/tags/*:refs/tags/*
       fetch = +refs/change/*:refs/change/*
       pushurl = git@gitlab.com:auser/dotfiles.git
       push = +refs/heads/*:refs/remotes/origin/*
  [submodule &quot;oh-my-zsh/.oh-my-zsh&quot;]
       url = https://github.com/robbyrussell/oh-my-zsh
       active = true
  [branch &quot;master&quot;]
       remote = origin
       merge = refs/heads/master
       pushRemote = origin
  [branch &quot;kimura&quot;]
       remote = origin
       merge = refs/heads/kimura
       fetch = +refs/heads/*:refs/heads/*
       fetch = +refs/tags/*:refs/tags/*
       fetch = +refs/change/*:refs/change/*
  </code></pre>
  <p>But the problem persists.  My branches are...</p>
  <pre class="lang-bash prettyprint-override"><code>$ git branch -a
  * kimura
    master
    remotes/origin/kimura
    remotes/origin/master
  </code></pre>
  <p>The host I'm trying to push from is where I started the repo before mirroring to Gitlab.</p>