If you are sure that your credentials are good (from another repository or something else), you can simply update the embedded Git version.
Tools > Options > Git > Update Embedded Git
If this solution does not fix the problem, you can find more solutions here.