git-missing: print ERROR from within die
git-missing: use die instead of echo and exit
git-missing: make sure branches exist and exit with error if they don't