Git info reworked

Inspired by gitinfo package