New feature, improvement proposal
Currently release:prepare only breaks in case of sync issues between remote/local once it tries to push at the very end. This check should be performed first to fail faster in that case (before any modifications to local working directory have been applied).
Although there is a slight chance that between checking and pushing there are additional commits being added this should capture non-pulled changes for most of the cases.