Repository: stable-diffusion-webui
Issue: RuntimeError: Couldn't checkout commit 48211a1594f1321b00f14c9f7a5b4813144b2fb9 for BLIP.
Labels: bug-report

### Checklist

- [X] The issue exists after disabling all extensions
- [X] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [X] The issue exists in the current version of the webui
- [X] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

remote: Total 54 (delta 14), reused 54 (delta 14)
Unpacking objects: 100% (54/54), 6.93 MiB | 885.00 KiB/s, done.
Pruning BLIP
Enumerating objects: 54, done.
Counting objects: 100% (54/54), done.
Delta compression using up to 16 threads
Compressing objects: 100% (52/52), done.
Writing objects: 100% (54/54), done.
Total 54 (delta 14), reused 40 (delta 0), pack-reused 0 (from 0)
Checking out commit for BLIP with hash: 48211a1594f1321b00f14c9f7a5b4813144b2fb9...
fatal: unable to read tree (48211a1594f1321b00f14c9f7a5b4813144b2fb9)
Traceback (most recent call last):
  File "K:\Stable diffusion\stable-diffusion-webui\launch.py", line 48, in <module>
    main()
  File "K:\Stable diffusion\stable-diffusion-webui\launch.py", line 39, in main
    prepare_environment()
  File "K:\Stable diffusion\stable-diffusion-webui\modules\launch_utils.py", line 414, in prepare_environment
    git_clone(blip_repo, repo_dir('BLIP'), "BLIP", blip_commit_hash)
  File "K:\Stable diffusion\stable-diffusion-webui\modules\launch_utils.py", line 186, in git_clone
    run_git(dir, name, f'checkout {commithash}', f"Checking out commit for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}", live=True)
  File "K:\Stable diffusion\stable-diffusion-webui\modules\launch_utils.py", line 167, in run_git
    return run(f'"{git}" -C "{dir}" {command}', desc=desc, errdesc=errdesc, custom_env=custom_env, live=live)
  File "K:\Stable diffusion\stable-diffusion-webui\modules\launch_utils.py", line 115, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't checkout commit 48211a1594f1321b00f14c9f7a5b4813144b2fb9 for BLIP.
Command: "git" -C "K:\Stable diffusion\stable-diffusion-webui\repositories\BLIP" checkout 48211a1594f1321b00f14c9f7a5b4813144b2fb9
Error code: 128
请按任意键继续. . .

### Steps to reproduce the problem

remote: Total 54 (delta 14), reused 54 (delta 14)
Unpacking objects: 100% (54/54), 6.93 MiB | 885.00 KiB/s, done.
Pruning BLIP
Enumerating objects: 54, done.
Counting objects: 100% (54/54), done.
Delta compression using up to 16 threads
Compressing objects: 100% (52/52), done.
Writing objects: 100% (54/54), done.
Total 54 (delta 14), reused 40 (delta 0), pack-reused 0 (from 0)
Checking out commit for BLIP with hash: 48211a1594f1321b00f14c9f7a5b4813144b2fb9...
fatal: unable to read tree (48211a1594f1321b00f14c9f7a5b4813144b2fb9)
Traceback (most recent call last):
  File "K:\Stable diffusion\stable-diffusion-webui\launch.py", line 48, in <module>
    main()
  File "K:\Stable diffusion\stable-diffusion-webui\launch.py", line 39, in main
    prepare_environment()
  File "K:\Stable diffusion\stable-diffusion-webui\modules\launch_utils.py", line 414, in prepare_environment
    git_clone(blip_repo, repo_dir('BLIP'), "BLIP", blip_commit_hash)
  File "K:\Stable diffusion\stable-diffusion-webui\modules\launch_utils.py", line 186, in git_clone
    run_git(dir, name, f'checkout {commithash}', f"Checking out commit for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}", live=True)
  File "K:\Stable diffusion\stable-diffusion-webui\modules\launch_utils.py", line 167, in run_git
    return run(f'"{git}" -C "{dir}" {command}', desc=desc, errdesc=errdesc, custom_env=custom_env, live=live)
  File "K:\Stable diffusion\stable-diffusion-webui\modules\launch_utils.py", line 115, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't checkout commit 48211a1594f1321b00f14c9f7a5b4813144b2fb9 for BLIP.
Command: "git" -C "K:\Stable diffusion\stable-diffusion-webui\repositories\BLIP" checkout 48211a1594f1321b00f14c9f7a5b4813144b2fb9
Error code: 128
请按任意键继续. . .

### What should have happened?

remote: Total 54 (delta 14), reused 54 (delta 14)
Unpacking objects: 100% (54/54), 6.93 MiB | 885.00 KiB/s, done.
Pruning BLIP
Enumerating objects: 54, done.
Counting objects: 100% (54/54), done.
Delta compression using up to 16 threads
Compressing objects: 100% (52/52), done.
Writing objects: 100% (54/54), done.
Total 54 (delta 14), reused 40 (delta 0), pack-reused 0 (from 0)
Checking out commit for BLIP with hash: 48211a1594f1321b00f14c9f7a5b4813144b2fb9...
fatal: unable to read tree (48211a1594f1321b00f14c9f7a5b4813144b2fb9)
Traceback (most recent call last):
  File "K:\Stable diffusion\stable-diffusion-webui\launch.py", line 48, in <module>
    main()
  File "K:\Stable diffusion\stable-diffusion-webui\launch.py", line 39, in main
    prepare_environment()
  File "K:\Stable diffusion\stable-diffusion-webui\modules\launch_utils.py", line 414, in prepare_environment
    git_clone(blip_repo, repo_dir('BLIP'), "BLIP", blip_commit_hash)
  File "K:\Stable diffusion\stable-diffusion-webui\modules\launch_utils.py", line 186, in git_clone
    run_git(dir, name, f'checkout {commithash}', f"Checking out commit for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}", live=True)
  File "K:\Stable diffusion\stable-diffusion-webui\modules\launch_utils.py", line 167, in run_git
    return run(f'"{git}" -C "{dir}" {command}', desc=desc, errdesc=errdesc, custom_env=custom_env, live=live)
  File "K:\Stable diffusion\stable-diffusion-webui\modules\launch_utils.py", line 115, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't checkout commit 48211a1594f1321b00f14c9f7a5b4813144b2fb9 for BLIP.
Command: "git" -C "K:\Stable diffusion\stable-diffusion-webui\repositories\BLIP" checkout 48211a1594f1321b00f14c9f7a5b4813144b2fb9
Error code: 128
请按任意键继续. . .
![2b6aecfde3c672051433763905448bf](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/171398672/f6100776-9d2a-4abc-9461-08afdbe4da55)


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

Google Chrome

### Sysinfo

![Uploading 2b6aecfde3c672051433763905448bf.png…]()


### Console logs

```Shell
remote: Total 54 (delta 14), reused 54 (delta 14)
Unpacking objects: 100% (54/54), 6.93 MiB | 885.00 KiB/s, done.
Pruning BLIP
Enumerating objects: 54, done.
Counting objects: 100% (54/54), done.
Delta compression using up to 16 threads
Compressing objects: 100% (52/52), done.
Writing objects: 100% (54/54), done.
Total 54 (delta 14), reused 40 (delta 0), pack-reused 0 (from 0)
Checking out commit for BLIP with hash: 48211a1594f1321b00f14c9f7a5b4813144b2fb9...
fatal: unable to read tree (48211a1594f1321b00f14c9f7a5b4813144b2fb9)
Traceback (most recent call last):
  File "K:\Stable diffusion\stable-diffusion-webui\launch.py", line 48, in <module>
    main()
  File "K:\Stable diffusion\stable-diffusion-webui\launch.py", line 39, in main
    prepare_environment()
  File "K:\Stable diffusion\stable-diffusion-webui\modules\launch_utils.py", line 414, in prepare_environment
    git_clone(blip_repo, repo_dir('BLIP'), "BLIP", blip_commit_hash)
  File "K:\Stable diffusion\stable-diffusion-webui\modules\launch_utils.py", line 186, in git_clone
    run_git(dir, name, f'checkout {commithash}', f"Checking out commit for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}", live=True)
  File "K:\Stable diffusion\stable-diffusion-webui\modules\launch_utils.py", line 167, in run_git
    return run(f'"{git}" -C "{dir}" {command}', desc=desc, errdesc=errdesc, custom_env=custom_env, live=live)
  File "K:\Stable diffusion\stable-diffusion-webui\modules\launch_utils.py", line 115, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't checkout commit 48211a1594f1321b00f14c9f7a5b4813144b2fb9 for BLIP.
Command: "git" -C "K:\Stable diffusion\stable-diffusion-webui\repositories\BLIP" checkout 48211a1594f1321b00f14c9f7a5b4813144b2fb9
Error code: 128
请按任意键继续. . .
```


### Additional information

_No response_