Repository: stable-diffusion-webui
Issue: [Bug]: failed update/check extensions
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

failed update/check extensions

and if i run git pull by self in extensions , it is work

```
Error checking updates for stable-diffusion-webui-wildcards:
Traceback (most recent call last):
  File "C:\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'
```

### Steps to reproduce the problem

1. Go to extensions
2. Press check update


### What should have happened?

check extensions and update it

### Commit where the problem happens

0cc0ee1

### What platforms do you use to access the UI ?

Windows

### What browsers do you use to access the UI ?

Google Chrome

### Command Line Arguments

```Shell
--listen --api --enable-insecure-extension-access --xformers
```


### List of extensions

<html>
<body>
<!--StartFragment-->

擴充功能 | 網址 | Version | 更新
-- | -- | -- | --
ABG_擴展 | https://github.com/KutsuyaYuki/ABG_extension.git | e64ea765 (Sat Feb 25 18:27:03 2023) | 未知
PromptGallery-stable-diffusion-webui | https://github.com/dr413677671/PromptGallery-stable-diffusion-webui.git | f2375cfa (Tue Jan 31 13:03:26 2023) | 未知
鏡像潛空間圖像 | https://github.com/dfaker/SD-latent-mirroring.git | 7e6b8d78 (Sat Mar 4 00:42:24 2023) | 未知
StylePile | https://github.com/some9000/StylePile.git | abc71631 (Thu Dec 8 06:48:39 2022) | 未知
a1111-sd-webui-haku-img | https://github.com/KohakuBlueleaf/a1111-sd-webui-haku-img.git | 99344e7f (Fri Feb 10 14:33:00 2023) | 未知
a1111-sd-webui-locon | https://github.com/KohakuBlueleaf/a1111-sd-webui-locon.git | 2e9a7953 (Sat Mar 4 03:38:47 2023) | 未知
標記自動補齊 | https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git | d1fff7bf (Wed Mar 1 10:14:06 2023) | 未知
batch-face-swap | https://github.com/kex0/batch-face-swap.git | 663817e3 (Tue Jan 31 02:05:56 2023) | 未知
civitai_downloader | https://github.com/axsddlr/civitai_downloader.git | f2cea74d (Mon Feb 27 06:28:51 2023) | 未知
檢測詳細訊息 | https://github.com/dustysys/ddetailer.git | 22a17414 (Mon Nov 28 09:33:31 2022) | 未知
depthmap2mask | https://github.com/Extraltodeus/depthmap2mask | 3c1874f5 (Wed Dec 7 02:40:16 2022) | 未知
ebsynth_utility | https://github.com/s9roll7/ebsynth_utility.git | 3d8407dd (Mon Mar 6 03:03:50 2023) | 未知
embedding-inspector | https://github.com/tkalayci71/embedding-inspector.git | 4ed06419 (Sat Feb 25 11:17:37 2023) | 未知
gif2gif | https://github.com/LonicaMewinsky/gif2gif.git | 7fbf8045 (Mon Mar 6 17:21:50 2023) | 未知
模型關鍵字 | https://github.com/mix1009/model-keyword.git | 9e282719 (Thu Mar 2 12:00:40 2023) | 未知
多主題繪製 | https://github.com/Extraltodeus/multi-subject-render.git | 1d8689ab (Tue Feb 28 12:39:09 2023) | 未知
openOutpaint-webUI-extension | https://github.com/zero01101/openOutpaint-webUI-extension.git | 989a3fa0 (Sun Feb 26 15:36:24 2023) | 未知
openpose-editor | https://github.com/fkunn1326/openpose-editor.git | 08ad9334 (Wed Mar 1 23:15:27 2023) | 未知
posex | https://github.com/hnmr293/posex.git | b4b381a9 (Mon Mar 6 16:37:50 2023) | 未知
prompt-fusion-extension | https://github.com/ljleb/prompt-fusion-extension.git | fb4c7222 (Mon Feb 6 16:16:03 2023) | 未知
動態提示詞 | https://github.com/adieyal/sd-dynamic-prompts.git | b09f4b7c (Mon Feb 27 10:12:27 2023) | 未知
sd-extension-steps-animation | https://github.com/vladmandic/sd-extension-steps-animation.git | ee270d3e (Fri Mar 3 15:20:20 2023) | 未知
sd-extension-system-info | https://github.com/vladmandic/sd-extension-system-info.git | ccb2ac79 (Thu Mar 2 15:16:32 2023) | 未知
sd-web-ui-quickcss | https://github.com/Gerschel/sd-web-ui-quickcss.git | 53fe5a86 (Sat Jan 28 21:19:33 2023) | 未知
sd-webui-ar | https://github.com/alemelis/sd-webui-ar.git | ce0a645c (Thu Feb 23 13:59:23 2023) | 未知
sd-webui-controlnet | https://github.com/Mikubill/sd-webui-controlnet.git | 48fce60f (Thu Mar 2 12:55:12 2023) | 未知
sd-webui-llul | https://github.com/hnmr293/sd-webui-llul.git | 7b90d4c1 (Sun Mar 5 05:10:43 2023) | 未知
sd-webui-lora-block-weight | https://github.com/hako-mikan/sd-webui-lora-block-weight.git | 567eaa33 (Sun Mar 5 12:06:19 2023) | 未知
sd_civitai_extension | https://github.com/civitai/sd_civitai_extension.git | b72f6d93 (Wed Mar 1 23:49:37 2023) | 未知
Dreambooth 套件 | https://github.com/d8ahazard/sd_dreambooth_extension.git | d4e2f7d5 (Wed Mar 1 03:01:13 2023) | 未知
sd_grid_add_image_number | https://github.com/AlUlkesh/sd_grid_add_image_number.git | 453c305d (Thu Feb 23 01:08:51 2023) | 未知
sd_web_ui_preset_utils | https://github.com/Gerschel/sd_web_ui_preset_utils.git | 175b6f7d (Mon Jan 30 15:07:50 2023) | 未知
美術風格梯度 | https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients.git | 2624e5dd (Fri Jan 6 10:59:30 2023) | 未知
藝術家圖庫 | https://github.com/camenduru/stable-diffusion-webui-artists-to-study.git | 970d388e (Tue Feb 28 20:52:57 2023) | 未知
自動使用安全性傳輸協定（https） | https://github.com/papuSpartan/stable-diffusion-webui-auto-tls-https.git | 360c7fb8 (Mon Jan 30 10:35:03 2023) | 未知
stable-diffusion-webui-cafe-aesthetic | https://github.com/p1atdev/stable-diffusion-webui-cafe-aesthetic.git | d2e7b647 (Sun Feb 12 08:52:28 2023) | 未知
資料集標記編輯器 | https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor.git | 94afc6e0 (Mon Mar 6 16:08:25 2023) | 未知
stable-diffusion-webui-depthmap-script | https://github.com/thygate/stable-diffusion-webui-depthmap-script.git | 189e30ad (Mon Feb 6 12:13:59 2023) | 未知
圖庫瀏覽器 | https://github.com/AlUlkesh/stable-diffusion-webui-images-browser.git | 8633dde3 (Wed Mar 1 23:16:23 2023) | 未知
正體中文語言包 | https://github.com/benlisquare/stable-diffusion-webui-localization-zh_TW.git | ef339c84 (Mon Feb 27 14:25:43 2023) | 未知
stable-diffusion-webui-promptgen | https://github.com/AUTOMATIC1111/stable-diffusion-webui-promptgen.git | 84e58b5d (Fri Jan 20 11:15:12 2023) | 未知
stable-diffusion-webui-sonar | https://github.com/Kahsolt/stable-diffusion-webui-sonar.git | 6f6a39bf (Tue Jan 31 03:03:19 2023) | 未知
stable-diffusion-webui-text2prompt | https://github.com/toshiaki1729/stable-diffusion-webui-text2prompt.git | c4d8cec1 (Fri Feb 24 08:29:55 2023) | 未知
標記解析器 | https://github.com/AUTOMATIC1111/stable-diffusion-webui-tokenizer.git | ac6d541c (Sat Dec 10 12:58:31 2022) | 未知
stable-diffusion-webui-two-shot | https://github.com/opparco/stable-diffusion-webui-two-shot.git | 9936c52e (Sun Feb 19 08:40:41 2023) | 未知
stable-diffusion-webui-visualize-cross-attention-extension | https://github.com/benkyoujouzu/stable-diffusion-webui-visualize-cross-attention-extension.git | 5fb1e8f8 (Sun Dec 11 15:19:31 2022) | 未知
Waifu Diffusion 1.4 標記器 | https://github.com/toriato/stable-diffusion-webui-wd14-tagger.git | 590c9a73 (Sun Feb 19 11:51:48 2023) | 未知
萬用字元 | https://github.com/AUTOMATIC1111/stable-diffusion-webui-wildcards.git | 6ed81ed1 (Sat Oct 29 16:18:48 2022) | 未知
ultimate-upscale-for-automatic1111 | https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git | 0a3d03a4 (Tue Feb 7 06:07:23 2023) | 未知
LDSR | 內建的 |   |  
Lora | 內建的 |   |  
ScuNET | 內建的 |   |  
SwinIR | 內建的 |   |  
提示括號檢查器 | 內建的 |   |  

<!--EndFragment-->
</body>
</html>擴充功能	網址	Version	更新
ABG_擴展	https://github.com/KutsuyaYuki/ABG_extension.git	e64ea765 (Sat Feb 25 18:27:03 2023)	未知
PromptGallery-stable-diffusion-webui	https://github.com/dr413677671/PromptGallery-stable-diffusion-webui.git	f2375cfa (Tue Jan 31 13:03:26 2023)	未知
鏡像潛空間圖像	https://github.com/dfaker/SD-latent-mirroring.git	7e6b8d78 (Sat Mar 4 00:42:24 2023)	未知
StylePile	https://github.com/some9000/StylePile.git	abc71631 (Thu Dec 8 06:48:39 2022)	未知
a1111-sd-webui-haku-img	https://github.com/KohakuBlueleaf/a1111-sd-webui-haku-img.git	99344e7f (Fri Feb 10 14:33:00 2023)	未知
a1111-sd-webui-locon	https://github.com/KohakuBlueleaf/a1111-sd-webui-locon.git	2e9a7953 (Sat Mar 4 03:38:47 2023)	未知
標記自動補齊	https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git	d1fff7bf (Wed Mar 1 10:14:06 2023)	未知
batch-face-swap	https://github.com/kex0/batch-face-swap.git	663817e3 (Tue Jan 31 02:05:56 2023)	未知
civitai_downloader	https://github.com/axsddlr/civitai_downloader.git	f2cea74d (Mon Feb 27 06:28:51 2023)	未知
檢測詳細訊息	https://github.com/dustysys/ddetailer.git	22a17414 (Mon Nov 28 09:33:31 2022)	未知
depthmap2mask	https://github.com/Extraltodeus/depthmap2mask	3c1874f5 (Wed Dec 7 02:40:16 2022)	未知
ebsynth_utility	https://github.com/s9roll7/ebsynth_utility.git	3d8407dd (Mon Mar 6 03:03:50 2023)	未知
embedding-inspector	https://github.com/tkalayci71/embedding-inspector.git	4ed06419 (Sat Feb 25 11:17:37 2023)	未知
gif2gif	https://github.com/LonicaMewinsky/gif2gif.git	7fbf8045 (Mon Mar 6 17:21:50 2023)	未知
模型關鍵字	https://github.com/mix1009/model-keyword.git	9e282719 (Thu Mar 2 12:00:40 2023)	未知
多主題繪製	https://github.com/Extraltodeus/multi-subject-render.git	1d8689ab (Tue Feb 28 12:39:09 2023)	未知
openOutpaint-webUI-extension	https://github.com/zero01101/openOutpaint-webUI-extension.git	989a3fa0 (Sun Feb 26 15:36:24 2023)	未知
openpose-editor	https://github.com/fkunn1326/openpose-editor.git	08ad9334 (Wed Mar 1 23:15:27 2023)	未知
posex	https://github.com/hnmr293/posex.git	b4b381a9 (Mon Mar 6 16:37:50 2023)	未知
prompt-fusion-extension	https://github.com/ljleb/prompt-fusion-extension.git	fb4c7222 (Mon Feb 6 16:16:03 2023)	未知
動態提示詞	https://github.com/adieyal/sd-dynamic-prompts.git	b09f4b7c (Mon Feb 27 10:12:27 2023)	未知
sd-extension-steps-animation	https://github.com/vladmandic/sd-extension-steps-animation.git	ee270d3e (Fri Mar 3 15:20:20 2023)	未知
sd-extension-system-info	https://github.com/vladmandic/sd-extension-system-info.git	ccb2ac79 (Thu Mar 2 15:16:32 2023)	未知
sd-web-ui-quickcss	https://github.com/Gerschel/sd-web-ui-quickcss.git	53fe5a86 (Sat Jan 28 21:19:33 2023)	未知
sd-webui-ar	https://github.com/alemelis/sd-webui-ar.git	ce0a645c (Thu Feb 23 13:59:23 2023)	未知
sd-webui-controlnet	https://github.com/Mikubill/sd-webui-controlnet.git	48fce60f (Thu Mar 2 12:55:12 2023)	未知
sd-webui-llul	https://github.com/hnmr293/sd-webui-llul.git	7b90d4c1 (Sun Mar 5 05:10:43 2023)	未知
sd-webui-lora-block-weight	https://github.com/hako-mikan/sd-webui-lora-block-weight.git	567eaa33 (Sun Mar 5 12:06:19 2023)	未知
sd_civitai_extension	https://github.com/civitai/sd_civitai_extension.git	b72f6d93 (Wed Mar 1 23:49:37 2023)	未知
Dreambooth 套件	https://github.com/d8ahazard/sd_dreambooth_extension.git	d4e2f7d5 (Wed Mar 1 03:01:13 2023)	未知
sd_grid_add_image_number	https://github.com/AlUlkesh/sd_grid_add_image_number.git	453c305d (Thu Feb 23 01:08:51 2023)	未知
sd_web_ui_preset_utils	https://github.com/Gerschel/sd_web_ui_preset_utils.git	175b6f7d (Mon Jan 30 15:07:50 2023)	未知
美術風格梯度	https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients.git	2624e5dd (Fri Jan 6 10:59:30 2023)	未知
藝術家圖庫	https://github.com/camenduru/stable-diffusion-webui-artists-to-study.git	970d388e (Tue Feb 28 20:52:57 2023)	未知
自動使用安全性傳輸協定（https）	https://github.com/papuSpartan/stable-diffusion-webui-auto-tls-https.git	360c7fb8 (Mon Jan 30 10:35:03 2023)	未知
stable-diffusion-webui-cafe-aesthetic	https://github.com/p1atdev/stable-diffusion-webui-cafe-aesthetic.git	d2e7b647 (Sun Feb 12 08:52:28 2023)	未知
資料集標記編輯器	https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor.git	94afc6e0 (Mon Mar 6 16:08:25 2023)	未知
stable-diffusion-webui-depthmap-script	https://github.com/thygate/stable-diffusion-webui-depthmap-script.git	189e30ad (Mon Feb 6 12:13:59 2023)	未知
圖庫瀏覽器	https://github.com/AlUlkesh/stable-diffusion-webui-images-browser.git	8633dde3 (Wed Mar 1 23:16:23 2023)	未知
正體中文語言包	https://github.com/benlisquare/stable-diffusion-webui-localization-zh_TW.git	ef339c84 (Mon Feb 27 14:25:43 2023)	未知
stable-diffusion-webui-promptgen	https://github.com/AUTOMATIC1111/stable-diffusion-webui-promptgen.git	84e58b5d (Fri Jan 20 11:15:12 2023)	未知
stable-diffusion-webui-sonar	https://github.com/Kahsolt/stable-diffusion-webui-sonar.git	6f6a39bf (Tue Jan 31 03:03:19 2023)	未知
stable-diffusion-webui-text2prompt	https://github.com/toshiaki1729/stable-diffusion-webui-text2prompt.git	c4d8cec1 (Fri Feb 24 08:29:55 2023)	未知
標記解析器	https://github.com/AUTOMATIC1111/stable-diffusion-webui-tokenizer.git	ac6d541c (Sat Dec 10 12:58:31 2022)	未知
stable-diffusion-webui-two-shot	https://github.com/opparco/stable-diffusion-webui-two-shot.git	9936c52e (Sun Feb 19 08:40:41 2023)	未知
stable-diffusion-webui-visualize-cross-attention-extension	https://github.com/benkyoujouzu/stable-diffusion-webui-visualize-cross-attention-extension.git	5fb1e8f8 (Sun Dec 11 15:19:31 2022)	未知
Waifu Diffusion 1.4 標記器	https://github.com/toriato/stable-diffusion-webui-wd14-tagger.git	590c9a73 (Sun Feb 19 11:51:48 2023)	未知
萬用字元	https://github.com/AUTOMATIC1111/stable-diffusion-webui-wildcards.git	6ed81ed1 (Sat Oct 29 16:18:48 2022)	未知
ultimate-upscale-for-automatic1111	https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git	0a3d03a4 (Tue Feb 7 06:07:23 2023)	未知
LDSR	[內建的](https://desktop-2023-32g:7860/)		
Lora	[內建的](https://desktop-2023-32g:7860/)		
ScuNET	[內建的](https://desktop-2023-32g:7860/)		
SwinIR	[內建的](https://desktop-2023-32g:7860/)		
提示括號檢查器	[內建的](https://desktop-2023-32g:7860/)

### Console logs

```Shell
Error checking updates for PromptGallery-stable-diffusion-webui:
Traceback (most recent call last):
  File "C:\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for SD-latent-mirroring:
Traceback (most recent call last):
  File "C:\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for StylePile:
Traceback (most recent call last):
  File "C:\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for a1111-sd-webui-haku-img:
Traceback (most recent call last):
  File "C:\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'

Error checking updates for a1111-sd-webui-locon:
Traceback (most recent call last):
  File "C:\stable-diffusion-webui\modules\ui_extensions.py", line 66, in check_updates
    ext.check_updates()
  File "C:\stable-diffusion-webui\modules\extensions.py", line 69, in check_updates
    for fetch in repo.remote().fetch("--dry-run"):
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 1015, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout)
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\remote.py", line 854, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "C:\stable-diffusion-webui\venv\lib\site-packages\git\cmd.py", line 604, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v -- origin --dry-run
  stderr: 'fatal: couldn't find remote ref --dry-run'
```
```


### Additional information

_No response_