Hi! Running
./gitsub.sh upgrade fails when submodules are present where the master branch is not called "master" but something else, e.g. "main", which becomes increasingly common. The branch name "origin/master" is currently hardcoded in gitsub.sh. Thanks, Marc