That’s not true:
mkdir test
cd test
git init
Then .git
gets synced even .git/
is in my ignore list.
Please consider a re-work of ignore list (regex!) and selective sync (cf. Selective sync doesn't apply and Treat symlinks "as is", do not copy the files they point to)