I want to share my configuration and scripts with the community, but I don't want my personal details (eg email address) out on the World Weird Web to be crawled and spammed.
I put such details into
.gitconfig.local file which I ignore in my dotfiles repository.
Add this into
~/.gitconfig to include
[include] path = ~/.gitconfig.local