Add git revision to attributes