Do this to replace old SID to new SID
cd E:\stable-diffusion-webui\
git config --global --add safe.directory extensions\sd_dreambooth_extension
git config --global --add safe.directory extensions\stable-diffusion-webui-dataset-tag-editor
git config --global --add safe.directory extensions\stable-diffusion-webui-tokenizer
git config --global --add safe.directory repositories\stable-diffusion-stability-ai
git config --global --add safe.directory repositories\taming-transformers
git config --global --add safe.directory repositories\k-diffusion
git config --global --add safe.directory repositories\CodeFormer
git config --global --add safe.directory repositories\BLIP