git config and helper. stolen from garybernhardt