Implement git thanx [add/remove] function.