To check if it's working correctly you can run:
git remote get-url origin git config --get user.email