I\'m using git, and I\'m setting up the following branches to support my workflow:
You should be able to enforce this by using some of the git hooks.