[scm] Add support for branches filters