I currently have a repository with 3 separate directories in it. There's two remote servers and my local machine that currently have a copy of the entire repository in each. Is there a way I can set the upstream and origin for these remote machines to a specific folder in the parent repository?
something like
git remote add origin https://github.com/user/repo/pathToSubdirectory.git
or do I need to make a separate repository for each folder?
For example, if I'm on server A I'd like to run git pull and have it pull from the remote repository/folderA.
Thank you!