Get version information from Git