Reset the master branch to working conditions