command to logout of git code example
Example 1: how to logout of git in terminal
git config --global --unset-all
Example 2: how to logout of git in terminal
git config --global --unset user.name
git config --global --unset user.email
git config --global --unset credential.helper