Filter master and stable branches