guard for local changes and checkout gh-pages