Rewrite git thanx in ruby. Add repo configuration.