fixes git command aliases undo and count