Hi Poonam,
If you are getting an "Invalid username or password" error while trying to push changes to the Mendix Git repository, it's possible that the credentials you are using are incorrect or have been revoked.
To resolve this issue, you can try the following steps:
Make sure that you are using the correct username and password for your Mendix account. Double-check to ensure that you have entered them correctly and that they are still valid.
Try resetting your Mendix account password to see if that resolves the issue. You can do this by clicking on the "Forgot your password?" link on the Mendix login page and following the prompts to reset your password.
Check your firewall settings to ensure that they are not blocking access to the Mendix Git repository. Make sure that any necessary ports are open and that traffic is allowed to flow to and from the repository.
If this helps you, please upvote and mark as answered!
Mendix Studio Pro can automatically access your repository using your Mendix account, but Git Bash is a third-party tool and won’t recognize your Mendix credentials. To fix this, you need to use basic authentication with Git Bash: for example, you could use the following but there are more options:
git config --global credential.helper wincred
Configure as following:
That’s all there is to it! Once you set up Git Bash with these credentials, you’ll be able to interact with your Mendix repository without any issues.