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