Good morning, my problem is that I want to upload changes to my remote repository but in Git Bash it does not allow me, throwing me the following error. With the GitHub Desktop application it allows me to push changes normally but in Git Bash it does not allow me.
I have already been investigating a bit and it seems that I changed the user because I opened the local repository with visual studio by automatically changing the user as shown in the image says Austin1400.
I already changed my user.name and user.email to how it was before, use -f to force the push obviously, but I couldn't fix this problem.
What I understand is that I have to change the account so that I have to authenticate my username and password as at the beginning, since I am only asked the first time I log in to git from then on, each push I do does not ask me authenticate me and upload the changes to my remote repository.
If someone knows how to enable a configuration to request authentication each time a push is made, I would appreciate it, or another option is to modify a file by placing the username and password, although I think that this option is not as valid since the account is, I suppose, validated with an internet connection to make queries that said user exists.