title: BitBucket - error: failed to push some refs
body: <p>I have some projects I would like to upload on my bitbucket private profile. I performed the following steps but I get an error.</p>
  
  <ol>
  <li><p>Convert my project to git with: <code>git init</code></p></li>
  <li><p>Next:</p></li>
  </ol>
  
  <pre><code>git add
  git commit -m "some message"
  </code></pre>
  
  <ol start="3">
  <li><p>I created a bitbucket repository and version control system is GIT.</p></li>
  <li><p>I then type this (of course with real account name and reponame and repo owner):</p></li>
  </ol>
  
  <pre><code>git remote add origin https://&lt;repo_owner&gt;@bitbucket.org/&lt;accountname&gt;/&lt;reponame&gt;.git
  </code></pre>
  
  <ol start="5">
  <li>Finally,</li>
  </ol>
  
  <pre><code>git push -u origin master
  </code></pre>
  
  <p>I did all of this and my terminal gives me this error:</p>
  
  <pre><code>To https://bitbucket.org/milosdev_me/lfs.git
   ! [rejected]        master -&gt; master (fetch first)
  error: failed to push some refs to 'https://milosdev_me@bitbucket.org/milosdev_me/lfs.git'
  hint: Updates were rejected because the remote contains work that you do
  hint: not have locally. This is usually caused by another repository pushing
  hint: to the same ref. You may want to first integrate the remote changes
  hint: (e.g., 'git pull ...') before pushing again.
  hint: See the 'Note about fast-forwards' in 'git push --help' for details.
  </code></pre>