Use git revisions
Update code for git revision number change. Update .gitignore.