Here's a guide using a git bare repository: https://www.atlassian.com/git/tutorials/dotfiles
As a disclaimer I have to say I have never migrated my system to another one or even shared my config, so unforeseen problems may appear.
*
!/.bashrc
!/.config/
!/.config/monitors.xml
This lets me quickly quickly detect changes in my working dir while still explicitly adding each tracked file.