Fix the .gitignore, improve the git version Makefile