git config --global user.email "put your email address here" # user.email will still be there
git config --global user.name "put your github username here" # user.name will still be there
Note: it might prompt you to enter your git username and password. This works fine for me.