configure: detect git revesion