title: How do i merge/rebase branch that is in a folder
body: <p>I have a main branch. From main i create a branch A. I switch to that branch and clone a repo from github. Now there is a folder with repo on branch A.</p>
  <p>The problem is that being on branch A i do not see commit history of cloned repo, unless i cd in cloned repo folder. After cd i can see history, but this is a completely different branch. I also need to create Pull Request, which I can't because GitHub says <code>there is nothing to compare, branches have entirely different commit histories </code></p>
  <p>Can I somehow merge/rebase branch from folder into main/other branch?</p>