Parameterize commands & conf options in git module

Adds a centralized 'conf_attr' helper to easily load config options
with default & mechanism to override
Allow config options to be set from environment
Follow up TODO comment