git example to run autotest and checkout older version in loop

To report a bug I had to run autotest in a loop and find where it
breaks. This is nice example how to checkout previous revision and
execute the program.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>