We currently are using a git workflow where each developer in our small team has his own branch (instances of which live on each of their development machines) as well as master.
We want to be able to prevent junior members from pushing directly to origin/master and so want to put master in its own repository (which from my reading appears to be a fairly standard practice).
Most developers would have r/w access to their branch on origin but only read access to the centralized master.
I understand how to change the git configuration to leave the developer branches pointing to their remote tracking equivalents on origin..and then point master to another location (say, origin2).
My question is: whats the best way to actually extract the master branch out of origin and put it in its own location?