We'll use the same repository as in the last example and reset it to the same state so that we can perform the same adds with Git GUI:
$ git clone https://github.com/PacktPublishing/Git-Version-Control-Cookbook-Second-Edition_tips_and_tricks.git $ cd Git-Version-Control-Cookbook-Second-Edition_tips_and_tricks $ git checkout interactive $ git reset HEAD^