I use ZX for this - it's basically JS/TS with some extra stuff that makes it good for shell scripts.
I don't understand why you wouldn't want your scripts in your Git - but I guess OP's context is different from mine.