title: How to do a pull request when my branch and master have no related history?
body: <p>I have a branch, "branch_x", that is part of the same repository as master. However, I foolishly started developing on branch_x without checking out from master. Therefore there is no common ancestor between master and branch_x, and when I tried doing a pull request to master, I simply got: <strong>There isn’t anything to compare.
  master and branch_x are entirely different commit histories.</strong></p>
  
  <p>Because of that fault, I made a fork of that repository. I am trying to merge the commits of branch_x into the master branch of the fork, and then I will try to request a pull between original repository and the fork (because now they have some history in common). However, I have no idea of how to actually merge branch_x from the original repo, to the master branch of the fork. </p>
  
  <p>This post is similar, but I don't think that "git rebase -onto" will help much: <a href="https://stackoverflow.com/questions/23344320/there-isnt-anything-to-compare-nothing-to-compare-branches-are-entirely-diffe">There isn&#39;t anything to compare. Nothing to compare, branches are entirely different commit histories</a></p>