Add a set of verifactions to the bump script

Adding a set of verification before creating the tag and commiting in order to make the script more reliable.

See the line attached comments 
Check that we can change the branch. Sometimes there are some uncommited changes that will make impossible to checkout to gh-pages