Added 'git diff' generation

Used pyhton subprocess.call() to automatically generate the git diff and
save it in /tmp/ with a random filename