Change of Email on Github causes Mac Bash Permissions Connection Issue
If you change your email on Github it will cause your previously saved Github credentials on Mac to become invalid because it was cached in the Keychain Access. When you try to connect to github, it thinks the password is valid and tries to use it for your Github access. You'll need to delete it.
Solution:
Make sure to change your local git config global user.email
$ git config --global user.email "your.email@domain.com"
Just go to Keychain Access (Command + Space) and type Keychain Access.
Find the github.com name in the list where kind is Internet Password and delete it.
From command again try connecting to Github and should prompt you for the updated password associated to the new email.