'Git : reload .gitconfig file from the bash console

I want to quickly test my changes in my user .gitconfig file without closing and reopening the console. Is there a way to load it again, much like source .bashrc would reload the bash config ?

EDIT : source ~/.gitconfig didn't work, not that this surprises me, but just saying.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source