github fork in a separate folder code example
Example: github fork subdirectory
git clone https://github.com/theleagueof/chunk
git subtree split --prefix=folder_name -b new_branch
git remote add upstream https://github.com/user/repo
git push upstream new_branch