Setup git prefs to fix tests in travis