Another approach would be to have two GitHub repos on two different accounts.
- one represents the master branch
- the other is a fork of the first and represents whatever branch you want
Working with a second repo (with a second account) means you can't push to the first.
source
to share