diff --git a/runbot/templates/git.xml b/runbot/templates/git.xml
index f69633e9..b4aec031 100644
--- a/runbot/templates/git.xml
+++ b/runbot/templates/git.xml
@@ -9,6 +9,7 @@
[remote ""]
url =
fetch = +refs/heads/*:refs//heads/*
+ fetch = +refs/notes/*:refs//notes/*
fetch = +refs/pull/*/head:refs//pull/*