If http://site.com/.git/ returns a 200 response code indicating a directory listing, the script starts downloading recursively.
Unfortunately, the recursive download parses ../ which leads to is_html assertion errors (http://site.com/.git/../ goes to http://site.com/) and infinite loops (Since it returns back to a directory that it's already been through)
If http://site.com/.git/ returns a 200 response code indicating a directory listing, the script starts downloading recursively.
Unfortunately, the recursive download parses ../ which leads to is_html assertion errors (http://site.com/.git/../ goes to http://site.com/) and infinite loops (Since it returns back to a directory that it's already been through)