WIP: Add git versioning

Not ready for review/merge, still WIP.