I have my own home-rolled "solution" to managing dotfiles, I'm a little uncomfortable checking them into Github though, as there's a slight risk some security credentials or something could leak without me realising.
Unless you have private repos I guess.
My solution is to use Dropbox to store all my configuration files, then use symlinks to the default locations.
If you don't already use it, you should check out GNU Stow as a tool to manage those symlinks. You just make a directory (or directories) which mirrors your home folder, but with only the files you want to store in dropbox, and Stow will generate symlinks in the appropriate places.
Just put your passwords in a separate `.environment` file and source it in your main file. Make sure the `.environment` file is in `.gitignore` (although there should be no reason to put it in your repo to begin with).