It is possible to set up rules like fetch = +refs/heads/*:refs/remotes/origin/*
to fetch all branches matching certain glob.
But is it possible to exclude something from the list? For example, I don't want to fetch anything from refs/heads/X/*
because it is used by our automated tool, and there're often lots of small branches I have no need to see ever.