I am using the AUTOMATIC1111 stable-diffusion distribution, and you can install modules to that. Some modules can be installed and updated from inside of the program, while others cannot. Those other modules have to be updated by doing a git pull. This is not a big job, but it can be made even smaller with a very small shell script.
Here is that very small shell script:
#!/bin/bash
DIR="/opt/sd/stable-diffusion-webui"
for i in `find ${1:-$DIR} -name .git -type d | grep -v repositories`
do
pushd `dirname $i`
git pull
done
The script jumps to each directory which contains a .git folder, and does a git pull. Easy peasy. You can specify a directory on the command line, or it will use the specified directory. You could set $DIR to "." to make it use the current directory instead of specified.