diff --git a/Documentation/githooks.txt b/Documentation/githooks.txt
index d954bf6..90a59d1 100644
@@ -367,7 +367,7 @@ preceding SP is also omitted. Currently, no commands pass any
The hook always runs after the automatic note copying (see
-"notes.rewrite.<command>" in linkgit:git-config.txt) has happened, and
+"notes.rewrite.<command>" in linkgit:git-config) has happened, and
thus has access to these notes.
The following command-specific comments apply: