Index: electron/node_modules/dugite/build/lib/git-environment.js
--- electron/node_modules/dugite/build/lib/git-environment.js.orig
+++ electron/node_modules/dugite/build/lib/git-environment.js
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: 
 const path = require("path");
 function resolveEmbeddedGitDir() {
     if (process.platform === 'darwin' ||
-        process.platform === 'linux' ||
+        process.platform === 'openbsd' ||
         process.platform === 'android' ||
         process.platform === 'win32') {
         const s = path.sep;
@@ -94,13 +94,13 @@ function setupEnvironment(environmentVariables) {
             delete env.Path;
         }
     }
-    if (process.platform === 'darwin' || process.platform === 'linux') {
+    if (process.platform === 'darwin' || process.platform === 'openbsd') {
         // templates are used to populate your .git folder
         // when a repository is initialized locally
         const templateDir = `${gitDir}/share/git-core/templates`;
         env.GIT_TEMPLATE_DIR = templateDir;
     }
-    if (process.platform === 'linux') {
+    if (process.platform === 'openbsd') {
         // when building Git for Linux and then running it from
         // an arbitrary location, you should set PREFIX for the
         // process to ensure that it knows how to resolve things
