Installed a git pre-commit hook.
testing versioning git hook
Git pre-commit script incrementing last version number now works.