AndrewLorente/Pullme — Issue #12: Use git-config to store settings
Author: pkeenatemma
Created: 2011-12-20 20:54:20+00:00
State: open

You can use git-config to store and retrieve whatever you want:

git config --global your.setting.name your-value # store in the user's ~/.gitconfig
git config your.setting.name your-value # store in the workdir's .git/config

And then to retrieve them:

git config your.setting.name # looks in workdir then user global then system global (/etc/gitconfig I think)

I would use this instead of a config file for storing the upstream and personal names.