I would like to build specific flow on our company git.
In the other words - is it possible to configure private remote branch in public repository?
The flow that is used in my team is to have complete separate repositories for each team member in addition to origin on the main git server.
git push jdoe-private my-cool-branch
git push origin my-cool-branch
The rationale for this setup for us is to allow devs to freely rebase and avoid the problems that can arise from upstream rebasing and also to have full backups. The separate repositories are only private by convention but would be easy to add access control if required. There is a lot of duplication of data but unless your repo is really huge, this is probably not a concern.