Repository: stable-diffusion-webui
Issue: [Bug]: When I downgrade from 1.6 to 1.5.2 it doesn't start and I can't open the lora interface with 1.6
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?

When I downgrade from 1.6 to 1.5.2 it doesn't start and I can't open the lora interface with 1.6

### Steps to reproduce the problem

When I downgrade from 1.6 to 1.5.2, webui doesn't start!

### What should have happened?

It used to be a smooth downgrade and startup

### Sysinfo

Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.5.2
Commit hash: c9c8485bc1e8720aba70f029d25cba1c4abf2b5c
Fetching updates for Stable Diffusion XL...
Checking out commit for Stable Diffusion XL with hash: 5c10deee76adad0032b412294130090932317a87...
error: The following untracked working tree files would be overwritten by checkout:
	LICENSE
	assets/sdxl_report.pdf
	requirements_pt13.txt
	requirements_pt2.txt
	setup.py
Please move or remove them before you switch branches.
Aborting
Traceback (most recent call last):
  File "D:\AIGC\sd-webui-aki-v4.2\launch.py", line 39, in <module>
    main()
  File "D:\AIGC\sd-webui-aki-v4.2\launch.py", line 30, in main
    prepare_environment()
  File "D:\AIGC\sd-webui-aki-v4.2\modules\launch_utils.py", line 346, in prepare_environment
    git_clone(stable_diffusion_xl_repo, repo_dir('generative-models'), "Stable Diffusion XL", stable_diffusion_xl_commit_hash)
  File "D:\AIGC\sd-webui-aki-v4.2\modules\launch_utils.py", line 156, in git_clone
    run(f'"{git}" -C "{dir}" checkout {commithash}', f"Checking out commit for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}", live=True)
  File "D:\AIGC\sd-webui-aki-v4.2\modules\launch_utils.py", line 113, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't checkout commit 5c10deee76adad0032b412294130090932317a87 for Stable Diffusion XL.
提示：Python 运行时抛出了一个异常。请检查疑难解答页面。
Command: "git" -C "D:\AIGC\sd-webui-aki-v4.2\repositories\generative-models" checkout 5c10deee76adad0032b412294130090932317a87
Error code: 1

--------

[程序崩溃，退出代码为 1 (0x00000001)]

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

_No response_

### Console logs

```Shell
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.5.2
Commit hash: c9c8485bc1e8720aba70f029d25cba1c4abf2b5c
Fetching updates for Stable Diffusion XL...
Checking out commit for Stable Diffusion XL with hash: 5c10deee76adad0032b412294130090932317a87...
error: The following untracked working tree files would be overwritten by checkout:
	LICENSE
	assets/sdxl_report.pdf
	requirements_pt13.txt
	requirements_pt2.txt
	setup.py
Please move or remove them before you switch branches.
Aborting
Traceback (most recent call last):
  File "D:\AIGC\sd-webui-aki-v4.2\launch.py", line 39, in <module>
    main()
  File "D:\AIGC\sd-webui-aki-v4.2\launch.py", line 30, in main
    prepare_environment()
  File "D:\AIGC\sd-webui-aki-v4.2\modules\launch_utils.py", line 346, in prepare_environment
    git_clone(stable_diffusion_xl_repo, repo_dir('generative-models'), "Stable Diffusion XL", stable_diffusion_xl_commit_hash)
  File "D:\AIGC\sd-webui-aki-v4.2\modules\launch_utils.py", line 156, in git_clone
    run(f'"{git}" -C "{dir}" checkout {commithash}', f"Checking out commit for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}", live=True)
  File "D:\AIGC\sd-webui-aki-v4.2\modules\launch_utils.py", line 113, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't checkout commit 5c10deee76adad0032b412294130090932317a87 for Stable Diffusion XL.
提示：Python 运行时抛出了一个异常。请检查疑难解答页面。
Command: "git" -C "D:\AIGC\sd-webui-aki-v4.2\repositories\generative-models" checkout 5c10deee76adad0032b412294130090932317a87
Error code: 1

--------

[程序崩溃，退出代码为 1 (0x00000001)]
```


### Additional information

_No response_