Get version from hash commit