how to check git credentials in git bash code example Example: git bash set global username and password $ git config --list --show-origin