Project import generated by Copybara.

GitOrigin-RevId: 975161aa2f1036264c56d7a81b79ac74ba68b276
diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl
new file mode 100644
index 0000000..90b83c3
--- /dev/null
+++ b/dot_gitconfig.tmpl
@@ -0,0 +1,30 @@
+[user]
+name = {{ .git.name | quote }}
+email = {{ .git.email | quote }}
+{{if and (index .git "signingKey") (ne .git.signingKey "") -}}
+signingkey = {{ .git.signingKey | quote }}
+{{- end}}
+
+{{if eq .chezmoi.os "darwin" -}}
+[credential]
+helper = osxkeychain
+
+[core]
+precomposeUnicode = true
+excludesfile = {{ .chezmoi.config.destDir }}/.gitignore_global
+{{- end -}}
+
+[http]
+cookiefile = {{ .chezmoi.config.destDir }}/.gitcookies
+
+[hub]
+protocol = https
+
+[pull]
+rebase = true
+
+[init]
+defaultBranch = main
+
+[alias]
+r = review -R