CTAN - gitinfo2.sty: Use git repository metadata in LaTeX documents