An alternative to those scripts - if all you're trying to do is remove large files from the history of your Git repo - would be The BFG Repo-Cleaner. It's only requirement is the Java 6 runtime, so it's cross-platform. It's also very fast - for an example of this, you can watch this video:
http://www.youtube.com/watch?v=Ir4IHzPhJuI
In your case, you might want to run it with a command like:
$ bfg --strip-blobs-bigger-than 10M my-repo.git
This removes all blobs bigger than 10MB, that aren't in your latest commit.
Full disclosure: I'm the author of the BFG Repo-Cleaner.