git set global credentials command code example Example: git bash set global username and password $ git config --list --show-origin