keychain
Easily Change GitHub User in OS X
· ☕ 2 min read · ✍️ Mark A. McFate
Check Your Git Configuration The first step is to run git config -l to see what the current configuration is. If the user.name and/or user.email properties are incorrect, change them using something like this: git config --global user.name "Mark McFate" git config --global user.