get version number from git rev-list
update .gitignore