A similar question has been answered at Is it possible to fork a public GitHub repo into an enterprise repository?
but I wonder what is the best way to clone from public repo to enterprise in a way that I am able to pull all the changes from public (to keep my copy fresh and receive updates) but push to my changes to enterprise(to keep my work)? Is there a way to achieve this without doing crazy things inside my enterprise .git folder?
PS: Those who are wondering why I am trying to achieve this:
I am using Kubespray (https://github.com/kubernetes-incubator/kubespray), this involves making changes to some config files as per my needs. I want to keep those changes, have people in my team be able to make changes and also receive updates on Kubespray project.
How do I solve the problem of having to deal with 2 github accounts? My problem is top level folder will belong to my enterprise github account and inside that there will be another folder (created by a git pull to public github). So the parent folder points to enterprise repo and child folder points to public repo). Do you consider this normal? I mean things will behave differently , a simple git pull will interact with different repositories based on my pwd. If I am doing it wrong, please suggest a set of commands or sequence of steps