Every time I try to push a repository in GitHub with Pycharm the it fails.
Push failed: fatal: Authentication failed for \'https://github.com/(my github repo
I came across this once. Turned out that the Web Credentials in the Credentials Manager stored an incorrect password for github.com and gitlab.com.
Web Credentials
Credentials Manager
I removed that and it gave me the option to log in when I added a new repository.