diff --git a/.gitconfig b/.gitconfig
index 453a68cb..0f43ee14 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -53,6 +53,7 @@
trustExitCode = true
[init]
templatedir = ~/.git_templates
+ defaultBranch = main
[diff]
algorithm = patience
tool = icdiff