diff --git a/.gitconfig b/.gitconfig
index ac2b0ac..7b096b9 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -14,5 +14,9 @@
 	autoStash = true
 [push]
 	autoSetupRemote = true
+[credential "https://github.com"]
+	helper = !gh auth git-credential
+[credential "https://gist.github.com"]
+	helper = !gh auth git-credential
 [include]
 	path = ~/.gitconfig.local
diff --git a/termux/.gitconfig.local b/termux/.gitconfig.local
index 7595421..c62397b 100644
--- a/termux/.gitconfig.local
+++ b/termux/.gitconfig.local
@@ -1,6 +1,2 @@
 [commit]
 	gpgSign = false
-[credential "https://github.com"]
-	helper = !gh auth git-credential
-[credential "https://gist.github.com"]
-	helper = !gh auth git-credential