[PATCH] scritpt to generate git snapshot