First, we need a repository to perform the garbage collection on. We'll use the same repository as in the previous example:
$ git clone https://github.com/PacktPublishing/Git-Version-Control-Cookbook-Second-Edition_hello_world_flow_model.git $ cd hello_world_flow_model $ git checkout develop $ git reset --hard origin/develop