I forgot git doesn't follow symlinks.

At least not by default. Maybe it's configurable. Who cares.