reset all credentials git code example Example: how to reset all github credentials git config --global --replace-all user.email "[email protected]"