title: Migrating repo from bitbucket to Github giving pre-receive hook declined error
body: <p>I am trying to migrate the repo from bitbucket to GitHub but getting the error &quot;pre-receive hook declined&quot;.</p>
  <p>Tired these two methods:</p>
  <p>1st:</p>
  <pre><code>git clone --mirror https://bitbucket.org/exampleuser/repository-to-mirror.git
  
  cd repository-to-mirror.git
  git remote set-url --push origin https://github.com/exampleuser/mirrored
  
  git push --mirror
  </code></pre>
  <p>2nd:
  In the import code option, paste the Bitbucket repo's URL but still not able to import. Got &quot; There was an error pushing commits to GitHub.&quot; error</p>
  <p>How to fix this issue?</p>