git-push-all.sh: shellcheck warnings

We've got a bunch of shellcheck warnings here since I merged #29879 (moved).