I have an open source project, and I want to have my closed branch within this project. I can push it to a different remote, for example, I can have my open source branches on github, and my closed branches on bitbucket. Would that work? Is there a better way, perhaps with forking?
PS. Both projects are mine, I just don't want to open source some part of it.