I don’t think there’s a general way to “turn off” filters without -c
commands to clone
(as this will also perform a checkout). git-lfs
has an environment variable to no-op itself. Maybe your filter could be a script that does so around the “real” command?