I looked over your git_stateful_snapshot.sh script, and it doesn't look like it does any sort of upload (like git push) to GIT. It does everything else like add the files, etc. How was it intended to be run?
Thanks