What solved my problem, since I was having a "redirect/sign_in URL" or "repository not found" error
MacOS Users:
Windows users should try similar steps, but Keychain would be Microsoft's Credentials Manager instead or Windows Credentials depending on yours OS version. Make sure to clean both web and windows credentials if that's the case.