Hallo Amal,
I had the same problem and with a lot of help it is resolved.
Solution:
Credentials are cached under Windows, not in Mendix or git.
Please go to Windows control panel » User Accounts » Manage Web credentials
Here delete the Mendix entry and restart Mendix.
Regards,
Anna