Clone the Git-Version-Control-Cookbook-Second-Edition_tips_and_tricks repository and check out the ignore branch:
$ 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 ignore