When I try to push the code using git push in the git-bash terminal I get the remote: Invalid username or password., but when try pushing the code using Visual studio code or IntelliJ, it prompts me to enter username and password. After entering the u/n and password, it gets successfully pushed. How do I fix this in git-bash? The git-bash doesn't prompt me to enter username and password.
Below is the command:
$ git push --set-upstream origin fix_sonar
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.dhdjfjfn.com/jdjdjdjd/nvbcf.git/'
 
    