Code monitors: add --glob and --exclude to git rev-parse allowlist
Created by: camdencheek
This adds --glob and --exclude to the allowlist for git rev-parse arguments. Their absence was causing failures when we'd attempt to create a code monitor that tracks a globbed set of branches.
Fixes #https://github.com/sourcegraph/sourcegraph/issues/36661
Test plan
Manually tested that creating a monitor locally works now and does not error.