# Git Sync - Rsync Sync
Essential bind mounts:
- your config dir as /sync
Assuming bind mounts:
- your rsync excludes file as /rsync-sync.excludes Preset env vars: - GIT_SYNC_ROOT='/tmp/git' - GIT_SYNC_DEST='sync' - GIT_SYNC_EXECHOOK_COMMAND='/rsync-sync' - GIT_SYNC_ADD_USER='true'