diff --git a/lib/platform/github/index.ts b/lib/platform/github/index.ts
index f5deb861e6af7970ab670ef05e95cfbcc3c3e148..1dba08543578e502f92e995b31711b4096b07bf1 100644
--- a/lib/platform/github/index.ts
+++ b/lib/platform/github/index.ts
@@ -220,8 +220,6 @@ export async function initRepo({
   try {
     res = await githubApi.getJson<{ fork: boolean }>(`repos/${repository}`);
     logger.trace({ repositoryDetails: res.body }, 'Repository details');
-    config.enterpriseVersion =
-      res.headers && (res.headers['x-github-enterprise-version'] as string);
     // istanbul ignore if
     if (res.body.fork && !includeForks) {
       try {
@@ -275,8 +273,6 @@ export async function initRepo({
         throw new Error(REPOSITORY_DISABLED);
       }
     }
-    const owner = res.body.owner.login;
-    logger.debug(`${repository} owner = ${owner}`);
     // Use default branch as PR target unless later overridden.
     config.defaultBranch = res.body.default_branch;
     // Base branch may be configured but defaultBranch is always fixed
diff --git a/lib/platform/github/types.ts b/lib/platform/github/types.ts
index c57c56b81032e54e35f7a9a698b0605e73b1403a..56bb1396a090b8336d5102ed246ace7c4fc8c686 100644
--- a/lib/platform/github/types.ts
+++ b/lib/platform/github/types.ts
@@ -40,7 +40,6 @@ export interface LocalRepoConfig {
   mergeMethod: string;
   baseBranch: string;
   defaultBranch: string;
-  enterpriseVersion: string;
   repositoryOwner: string;
   repository: string | null;
   localDir: string;