Just want to provide an updated answer since this showed in my google search for "move git config to .config repo"
git added GIT_CONFIG_GLOBAL
in version 2.32.0
you can add GIT_CONFIG_GLOBAL=your/custom/config
to .zshrc
.bashrc
to set you global config's new home.
Personally I set mine to .config/git/config