Original problem:
I am interested in forking and contributing to a public repository. Problem is, I wish to only update and retrieves updates for a single subdirectory in the public repository.
First attempt:
Problem: When I wish to retrieve updates from the original public repository, the folders and files I have removed from my local repository are still being tracked in the public repository and thus i have to manually weed out all the unwanted content killing my process.
I thought of doing (described here):
Problem: The newly created public repository is no longer a "Fork" of the original repository and lose all the benefits such as visibility from the original repository and the creation of pull requests.
At git level, you have to work on the whole repository, you cannot just drop everything you don't want to work on.
You just have to do your non-git-relatied work in the folder you want, then publish your modification at the repository level.