enforce the checking out of a branch