get_git_version: print a string