Repository: stable-diffusion-webui
Issue: [Bug]: Installing gfpgan error
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 run the webui-user.bat I got the below error and can't go any further, simply says can't install gfpgan.git and doesn't go any further. tried to delete everything and start again also not worked



### Steps to reproduce the problem

1. Go to .... 
2. Press ....
3. ...


### What should have happened?

first time installing this, following instructions on web no idea what is the problem. tried to install gfpgan manually didn't help

### Commit where the problem happens

.

### 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
no
```


### List of extensions

no

### Console logs

```Shell
Commit hash: <none>
Installing gfpgan
Traceback (most recent call last):
  File "C:\AI\stable-diffusion-webui-master\launch.py", line 355, in <module>
    prepare_environment()
  File "C:\AI\stable-diffusion-webui-master\launch.py", line 263, in prepare_environment
    run_pip(f"install {gfpgan_package}", "gfpgan")
  File "C:\AI\stable-diffusion-webui-master\launch.py", line 129, in run_pip
    return run(f'"{python}" -m pip {args} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}")
  File "C:\AI\stable-diffusion-webui-master\launch.py", line 97, in run
    raise RuntimeError(message)
RuntimeError: Couldn't install gfpgan.
Command: "C:\AI\stable-diffusion-webui-master\venv\Scripts\python.exe" -m pip install git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 --prefer-binary
Error code: 1
stdout: Collecting git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379
  Cloning https://github.com/TencentARC/GFPGAN.git (to revision 8d2447a2d918f8eba5a4a01463fd48e45126a379) to c:\users\nemo\appdata\local\temp\pip-req-build-lm6llf39

stderr:   Running command git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git 'C:\Users\Nemo\AppData\Local\Temp\pip-req-build-lm6llf39'
  fatal: this operation must be run in a work tree
  warning: Clone succeeded, but checkout failed.
  You can inspect what was checked out with 'git status'
  and retry with 'git restore --source=HEAD :/'

  error: subprocess-exited-with-error

  git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git 'C:\Users\Nemo\AppData\Local\Temp\pip-req-build-lm6llf39' did not run successfully.
  exit code: 128

  See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

git clone --filter=blob:none --quiet https://github.com/TencentARC/GFPGAN.git 'C:\Users\Nemo\AppData\Local\Temp\pip-req-build-lm6llf39' did not run successfully.
exit code: 128

See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
```


### Additional information

_No response_