I have 2 repositories in git....REPO1 and REPO 2. I have cloned REPO1 and all works fine. I have added 1 additional folder inside the project(REPO1) which I need to checkout/track in one branch inside REPO2. How do I do that.
I have tried git remote -v and git remote set-url origin https://github.com/user/repo2.git as per: How to change the URI (URL) for a remote Git repository?
but when I do a git branch from inside the folder, it still shows the branches in REPO1 and not REPO2.