Add the global Git user with
git config --global user.name "Your name"
git config --global user.email "Email of Git account"
Remove the global Git user with
git config --global --unset user.name
git config --global --unset user.email
Or can manually edit the config file with
git config --global --edit