git: Ignore git config in tests
Created by: keegancsmith
I set an option which changes the output of diff on my local machine. This broke unit tests. So we ignore these settings in tests. Note: we want to rely on global and system configs in production, since that is a way admins configure git.