diff --git a/rsync-sync b/rsync-sync
index 7197bb5146a527ddcee11cf57b4c6146cc1cc7cc..3a341736154db562b8a5e09374c06678732f881b 100644
--- a/rsync-sync
+++ b/rsync-sync
@@ -2,10 +2,9 @@
 
 rsync -a \
     --exclude-from='/rsync-sync.excludes' \
-    --exclude='/.git' \
     --delete-after \
     "${GIT_SYNC_ROOT:-/tmp/git}/${GIT_SYNC_DEST:-sync}/" \
-    /sync
+    /sync/
 
 if test -n "${RSYNC_SYNC_EXECHOOK_COMMAND}"; then
     /usr/bin/env sh "${RSYNC_SYNC_EXECHOOK_COMMAND}"
diff --git a/rsync-sync.excludes b/rsync-sync.excludes
index dd82fa54077a8931e3509da13f9bbe2eba2a51df..329137f717c019449bb639f72c433d5b40ecc335 100644
--- a/rsync-sync.excludes
+++ b/rsync-sync.excludes
@@ -1 +1,4 @@
 # Placeholder for your own excludes. Just mount your file into conteiner as /rsync-sync.excludes
+
+## Don't sync git repo directory
+/.git/