title: Unable to share git repo with Bitbucket
body: <p>I have an existing local repository undeg Git. Now I want to push it to Bitbucket.</p>
  <p>If I just set remote</p>
  <pre><code>git remote add bitbucket &lt;https://URL&gt;
  </code></pre>
  <p>it say repository doesn't exist.</p>
  <p>If I first create repository from Bitbucket page, then</p>
  <pre><code>&gt;git push --all bitbucket
  To https://URL
   ! [rejected]        master -&gt; master (non-fast-forward)
  error: failed to push some refs to 'https://URL'
  hint: Updates were rejected because the tip of your current branch is behind
  hint: its remote counterpart. Integrate the remote changes (e.g.
  hint: 'git pull ...') before pushing again.
  hint: See the 'Note about fast-forwards' in 'git push --help' for details.
  </code></pre>
  <p>And if I do</p>
  <pre><code>&gt;git pull bitbucket master
  From https://URL
   * branch            master     -&gt; FETCH_HEAD
  fatal: refusing to merge unrelated histories
  </code></pre>
  <p>Looks like deadend.</p>
  <p>What else can be done?</p>
  <p>I don't want to cheat with cloning empty repository first and then populating it with files. I want to push existing repo to Bitbucket.</p>