Need git checkout master at end of rebase-all.sh too.