Use correct version of git.
Ignore cache files.