Those that have some git status information in their shell prompts should probably make sure they are not bitten by the same git issues. I currently have to following (zsh syntax) setup for that:
% dc
9999999999999999.0 9999999999999998.0 - p
1.0
% sleep $((RANDOM / 546))
but I guess most cron jobs run with an extremely conservative shell that might not have it.