Raise error if Git cannot set a branch property
Handle RuntimeError if Git cannot set property