Create maintenance branch script

I never diverged master :) but I agree that your code make sense...actually I have my internal script that ensures that :)