Check for the existence of the git directory on startup.
-rwxr-xr-x 50432 gitk