git cofig --list shows both project and global user name code example Example: list config git git config --list