check login user in git terminal code example Example: check logged in user git shell git config -l git config user.name git config user.email