get to know the git account detail from git terminal code example Example: get git username and email git config user.name git config user.email