Minor nit, L10-11 can just be one line `branch=${3:-"master"}`