i have a private project in a private repo and it's very convenient to keep it as a single project. this way it's easy to work on it using IDE without any special commands.
but i also want to publish some part of it on github and update the public version sometimes. how can i make one subdirectory of repo A a top-level dir of repo B and still have all the standard commands apply to the whole repo A?