As I from time to time merge a repository into an existing one, I keep this todo list on how-to
- Create an orphan branch
git checkout --orphan my-merging-repo
- Reset all
git reset --hard && git clean -fd
- Add remote
git remote add my-merging-repo git@my-merging-repo
- Pull master