Add version and git reference functions