Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote source url
Output:
Error: fatal: credential-cache unavailable; no unix socket support
fatal: credential-cache unavailable; no unix socket support
remote: Invalid username or password
fatal: Authentication failed for source url
Where I have copied source url through gtithub. On github account after selecting specific repo, I clicked on clone button, select https option and copy the url.