Apply changes in ~/.gitconfig

use:

git init

It will reload ~/.gitconfig