Support local git config and always show diff on commit