diff --git a/lib/util/gitfs/fs.spec.ts b/lib/util/gitfs/fs/index.spec.ts
similarity index 86%
rename from lib/util/gitfs/fs.spec.ts
rename to lib/util/gitfs/fs/index.spec.ts
index bcbf606cf5f9be3abdaf2d9ea023c2642ec419d0..331eafaae3329afc1d44e085f6c37ed55df0c93c 100644
--- a/lib/util/gitfs/fs.spec.ts
+++ b/lib/util/gitfs/fs/index.spec.ts
@@ -1,5 +1,5 @@
-import { getName } from '../../../test/util';
-import { readLocalFile } from './fs';
+import { getName } from '../../../../test/util';
+import { readLocalFile } from '.';
 
 describe(getName(__filename), () => {
   describe('readLocalFile', () => {
diff --git a/lib/util/gitfs/fs.ts b/lib/util/gitfs/fs/index.ts
similarity index 94%
rename from lib/util/gitfs/fs.ts
rename to lib/util/gitfs/fs/index.ts
index b94d2c2364106a3b6d92c5e7abe5f7f1319ab8be..cb0e7a7814c003ffe312980830393a0bf8f41df6 100644
--- a/lib/util/gitfs/fs.ts
+++ b/lib/util/gitfs/fs/index.ts
@@ -1,7 +1,7 @@
 import * as fs from 'fs-extra';
 import { join, parse } from 'upath';
-import { RenovateConfig } from '../../config/common';
-import { logger } from '../../logger';
+import { RenovateConfig } from '../../../config/common';
+import { logger } from '../../../logger';
 
 let localDir = '';