updates `version` script to work with git