Add a shell function to get the git version