It seems I have got somewhere wrong credentials and are cached which is not allowing me to push the code to Azure DevOps (Azure Repository).
I am using Git Bash as a client tool.
Error Message as below:
fatal: Authentication failed for 'https://xxx.visualstudio.com/DefaultCollection/dms/_git/reponame/'
I tried the below solutions but have had no luck
Stop and start Git bash
git config --global credential.helper "cache --timeout=60"
3 Renamed C:\Users\hp\AppData\Local\GitCredentialManager\tenant.cache to C:\Users\hp\AppData\Local\GitCredentialManager\tenant.cache.bak
Even deleted tenant.cache still no fun...