The script uses array features like readarray and the [@] syntax. Afaik, these require bash, see manual.
While working on #266, I wasn't sure if I can assume bash and use syntax like REFS=("master").
I created this PR to get this question out of the way.