Please note that includeIf is case sensitive, and the order of precedence is last one wins.
To check if it's working correctly you can run:
git remote get-url origin git config --get user.email