force github use local account instead of global code example
Example: add email git not working
git config --global user.name "John Smith"
git config --global user.email "[email protected]"
git config --global user.name "John Smith"
git config --global user.email "[email protected]"