title: Android Studio Git push to bitbucket is rejected
body: <p>I have created a repo in Bitbucket without README file but with .gitignore file and that's all. The repo has no other files but .gitignore, and I am trying to push files from my Android Studio but it always gets rejected.
  I know that this question has been asked before, but I have done everything people have said and it still not working.
  Here is what I did:</p>
  <p>1- I have done my initial commit on Android Studio</p>
  <p>2- I have tried to push to my Bitbucket repo</p>
  <p>3- I got the rejection</p>
  <p>4- I have tried to pull and then push</p>
  <p>5- I got an error about unrelated histories because of conflicts in .gitignore file, so I have renamed on Bitbucket (maybe it is not helpful at all, I don't know, I am just a beginner)</p>
  <p>6- I tried to enable related histories, but it didn't work for some reason</p>
  <p>7- I deleted the project on Android Studio, created a new one and did all the steps again and still doesn't work</p>
  <p>Now I really need your help
  Thanks,</p>
  <p><a href="https://i.stack.imgur.com/izMYZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/izMYZ.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/QaxeW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QaxeW.png" alt="enter image description here" /></a></p>