Please find below the working solution for Windows:
- Open Control Panel from the Start menu.
- Select User Accounts.
- Select the “Credential Manager”.
- Click on “Manage Windows Credentials”.
- Delete any credentials related to Git or GitHub.
- Once you deleted all then try to clone again.
Reference: https://stackoverflow.com/questions/37813568/git-remote-repository-not-found