Repository: stable-diffusion-webui
Issue: [Bug]:  install .\webui-user.bat
Labels: asking-for-help-with-local-system-issues

### Is there an existing issue for this?

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

### What happened?

PS D:\AI\stable-diffusion-webui-master> .\webui-user.bat
venv "D:\AI\stable-diffusion-webui-master\venv\Scripts\Python.exe"
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: ## 1.4.1
Commit hash: <none>
Traceback (most recent call last):
  File "D:\AI\stable-diffusion-webui-master\launch.py", line 38, in <module>
    main()
  File "D:\AI\stable-diffusion-webui-master\launch.py", line 29, in main
    prepare_environment()
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 299, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 145, in git_clone
    current_hash = run(f'"{git}" -C "{dir}" rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}").strip()
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 107, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't determine Stable Diffusion's hash: cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf.
Command: "git" -C "D:\AI\stable-diffusion-webui-master\repositories\stable-diffusion-stability-ai" rev-parse HEAD
Error code: 1
stderr: '"git"' OΥ~ROBi檺{Χ妸ɡC

### Steps to reproduce the problem

PS D:\AI\stable-diffusion-webui-master> .\webui-user.bat
venv "D:\AI\stable-diffusion-webui-master\venv\Scripts\Python.exe"
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: ## 1.4.1
Commit hash: <none>
Traceback (most recent call last):
  File "D:\AI\stable-diffusion-webui-master\launch.py", line 38, in <module>
    main()
  File "D:\AI\stable-diffusion-webui-master\launch.py", line 29, in main
    prepare_environment()
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 299, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 145, in git_clone
    current_hash = run(f'"{git}" -C "{dir}" rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}").strip()
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 107, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't determine Stable Diffusion's hash: cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf.
Command: "git" -C "D:\AI\stable-diffusion-webui-master\repositories\stable-diffusion-stability-ai" rev-parse HEAD
Error code: 1
stderr: '"git"' OΥ~ROBi檺{Χ妸ɡC

### What should have happened?

PS D:\AI\stable-diffusion-webui-master> .\webui-user.bat
venv "D:\AI\stable-diffusion-webui-master\venv\Scripts\Python.exe"
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: ## 1.4.1
Commit hash: <none>
Traceback (most recent call last):
  File "D:\AI\stable-diffusion-webui-master\launch.py", line 38, in <module>
    main()
  File "D:\AI\stable-diffusion-webui-master\launch.py", line 29, in main
    prepare_environment()
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 299, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 145, in git_clone
    current_hash = run(f'"{git}" -C "{dir}" rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}").strip()
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 107, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't determine Stable Diffusion's hash: cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf.
Command: "git" -C "D:\AI\stable-diffusion-webui-master\repositories\stable-diffusion-stability-ai" rev-parse HEAD
Error code: 1
stderr: '"git"' OΥ~ROBi檺{Χ妸ɡC

### Version or Commit where the problem happens

new

### What Python version are you running on ?

Python 3.10.x

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

Windows

### What device are you running WebUI on?

_No response_

### Cross attention optimization

Automatic

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

Google Chrome

### Command Line Arguments

```Shell
PS D:\AI\stable-diffusion-webui-master> .\webui-user.bat
venv "D:\AI\stable-diffusion-webui-master\venv\Scripts\Python.exe"
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: ## 1.4.1
Commit hash: <none>
Traceback (most recent call last):
  File "D:\AI\stable-diffusion-webui-master\launch.py", line 38, in <module>
    main()
  File "D:\AI\stable-diffusion-webui-master\launch.py", line 29, in main
    prepare_environment()
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 299, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 145, in git_clone
    current_hash = run(f'"{git}" -C "{dir}" rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}").strip()
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 107, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't determine Stable Diffusion's hash: cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf.
Command: "git" -C "D:\AI\stable-diffusion-webui-master\repositories\stable-diffusion-stability-ai" rev-parse HEAD
Error code: 1
stderr: '"git"' OΥ~ROBi檺{Χ妸ɡC
```


### List of extensions

PS D:\AI\stable-diffusion-webui-master> .\webui-user.bat
venv "D:\AI\stable-diffusion-webui-master\venv\Scripts\Python.exe"
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: ## 1.4.1
Commit hash: <none>
Traceback (most recent call last):
  File "D:\AI\stable-diffusion-webui-master\launch.py", line 38, in <module>
    main()
  File "D:\AI\stable-diffusion-webui-master\launch.py", line 29, in main
    prepare_environment()
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 299, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 145, in git_clone
    current_hash = run(f'"{git}" -C "{dir}" rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}").strip()
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 107, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't determine Stable Diffusion's hash: cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf.
Command: "git" -C "D:\AI\stable-diffusion-webui-master\repositories\stable-diffusion-stability-ai" rev-parse HEAD
Error code: 1
stderr: '"git"' OΥ~ROBi檺{Χ妸ɡC

### Console logs

```Shell
PS D:\AI\stable-diffusion-webui-master> .\webui-user.bat
venv "D:\AI\stable-diffusion-webui-master\venv\Scripts\Python.exe"
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: ## 1.4.1
Commit hash: <none>
Traceback (most recent call last):
  File "D:\AI\stable-diffusion-webui-master\launch.py", line 38, in <module>
    main()
  File "D:\AI\stable-diffusion-webui-master\launch.py", line 29, in main
    prepare_environment()
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 299, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 145, in git_clone
    current_hash = run(f'"{git}" -C "{dir}" rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}").strip()
  File "D:\AI\stable-diffusion-webui-master\modules\launch_utils.py", line 107, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't determine Stable Diffusion's hash: cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf.
Command: "git" -C "D:\AI\stable-diffusion-webui-master\repositories\stable-diffusion-stability-ai" rev-parse HEAD
Error code: 1
stderr: '"git"' OΥ~ROBi檺{Χ妸ɡC
```


### Additional information

_No response_