diff --git a/Cargo.lock b/Cargo.lock
index e72c7e2c5ba..61422f532a2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2215,11 +2215,12 @@ name = "gix-path"
version = "0.10.10"
dependencies = [
"bstr",
+ "gix-testtools",
"gix-trace 0.1.9",
"home",
"known-folders",
"once_cell",
- "tempfile",
+ "serial_test",
"thiserror",
"windows 0.58.0",
"winreg",
diff --git a/gix-path/Cargo.toml b/gix-path/Cargo.toml
index ccadfacdff4..a661140b427 100644
--- a/gix-path/Cargo.toml
+++ b/gix-path/Cargo.toml
@@ -24,7 +24,8 @@ once_cell = "1.17.1"
home = "0.5.5"
[dev-dependencies]
-tempfile = "3.3.0"
+gix-testtools = { path = "../tests/tools" }
+serial_test = { version = "3.1.0", default-features = false }
[target.'cfg(windows)'.dev-dependencies]
known-folders = "1.1.0"
diff --git a/gix-path/src/env/git/mod.rs b/gix-path/src/env/git/mod.rs
index f99c3ba871c..04cc376f8a9 100644
--- a/gix-path/src/env/git/mod.rs
+++ b/gix-path/src/env/git/mod.rs
@@ -80,21 +80,14 @@ pub(super) static EXE_NAME: &str = "git";
/// Invoke the git executable to obtain the origin configuration, which is cached and returned.
///
/// The git executable is the one found in PATH or an alternative location.
-pub(super) static EXE_INFO: Lazy