···15index 5767e61c..56009fec 100644
16--- a/wandb/cli/cli.py
17+++ b/wandb/cli/cli.py
18-@@ -1917,7 +1917,7 @@ def restore(ctx, run, no_git, branch, project, entity):
19 commit, json_config, patch_content, metadata = api.run_config(
20 project, run=run, entity=entity
21 )
···24 image = metadata.get("docker")
25 restore_message = (
26 """`wandb restore` needs to be run from the same git repository as the original run.
27-@@ -1936,7 +1936,7 @@ Run `git clone %s` and restore from there or pass the --no-git flag."""
2829 if commit and api.git.enabled:
30 wandb.termlog(f"Fetching origin and finding commit: {commit}")
···33 try:
34 api.git.repo.commit(commit)
35 except ValueError:
36-@@ -1990,7 +1990,7 @@ Run `git clone %s` and restore from there or pass the --no-git flag."""
37 # --reject is necessary or else this fails any time a binary file
38 # occurs in the diff
39 exit_code = subprocess.call(
···42 )
43 if exit_code == 0:
44 wandb.termlog("Applied patch")
45-diff --git a/wandb/sdk/internal/meta.py b/wandb/sdk/internal/meta.py
46-index 6c53f750..c385951a 100644
47---- a/wandb/sdk/internal/meta.py
48-+++ b/wandb/sdk/internal/meta.py
49-@@ -125,7 +125,7 @@ class Meta:
50- logger.debug("save patches")
51- try:
52- root = self._git.root
53-- diff_args = ["git", "diff"]
54-+ diff_args = ["@git@", "diff"]
55- if self._git.has_submodule_diff:
56- diff_args.append("--submodule=diff")
57-58diff --git a/wandb/vendor/graphql-core-1.1/wandb_graphql/pyutils/version.py b/wandb/vendor/graphql-core-1.1/wandb_graphql/pyutils/version.py
59index 614df9f5..38db460b 100644
60--- a/wandb/vendor/graphql-core-1.1/wandb_graphql/pyutils/version.py
···15index 5767e61c..56009fec 100644
16--- a/wandb/cli/cli.py
17+++ b/wandb/cli/cli.py
18+@@ -1919,7 +1919,7 @@ def restore(ctx, run, no_git, branch, project, entity):
19 commit, json_config, patch_content, metadata = api.run_config(
20 project, run=run, entity=entity
21 )
···24 image = metadata.get("docker")
25 restore_message = (
26 """`wandb restore` needs to be run from the same git repository as the original run.
27+@@ -1938,7 +1938,7 @@ Run `git clone %s` and restore from there or pass the --no-git flag."""
2829 if commit and api.git.enabled:
30 wandb.termlog(f"Fetching origin and finding commit: {commit}")
···33 try:
34 api.git.repo.commit(commit)
35 except ValueError:
36+@@ -1992,7 +1992,7 @@ Run `git clone %s` and restore from there or pass the --no-git flag."""
37 # --reject is necessary or else this fails any time a binary file
38 # occurs in the diff
39 exit_code = subprocess.call(
···42 )
43 if exit_code == 0:
44 wandb.termlog("Applied patch")
000000000000045diff --git a/wandb/vendor/graphql-core-1.1/wandb_graphql/pyutils/version.py b/wandb/vendor/graphql-core-1.1/wandb_graphql/pyutils/version.py
46index 614df9f5..38db460b 100644
47--- a/wandb/vendor/graphql-core-1.1/wandb_graphql/pyutils/version.py