gpioget does not get the current value set my gpioset but turn it into an input pin and read it from the outside.
For gpioset, you must use --mode=wait so that the gpio is continuously driven .
Please read this manual gpioset(1) — gpiod — Debian experimental — Debian Manpages