I have a git repository in folder AAA and then another git repository in folder BBB.
What I need to do is to create a new folder in AAA where I would copy BBB repository, so it would become a subfolder of AAA.
The result should be that AAA repository stays as it is and excludes BBB folder, while when I enter the BBB folder it's a new repository of its own that has nothing to do with AAA.
Could you please explain me how to do that?
As I understand, I probably could create subfolder BBB in AAA then add it to .gitignore and then initialize a new repo there? Right? How would I do that? Thank you!