Push options are extra parameters sent with a Git push. They let a client pass metadata to server-side hooks or other processing, allowing repository workflows to respond to the push without changing the commits themselves.
Because servers may pass these values to internal services, push options must be treated as untrusted input. Unsafe parsing or handling can let crafted values change how downstream systems interpret data, potentially causing injection or other unintended behavior. Defenders should validate and safely encode option values, restrict who can push, and monitor unusual push metadata.


