Git hooks that writes current git revision into git_revision file that is afterwards used to show revision in program in About dialog. Move these scripts into .git/hooks/ directory.