This repository contains several useful scripts for Git.
I didn't wrote the scripts. I found them online and did little modifications. The licenses for those are in the files.
Search for files larger than the requested. The example below searches for files larger than 2MB.
Permanently delete files/folders from your git repository. To use it, cd to your repository's root and then run the script with a list of paths you want to delete like this:
./git-delete-history path1 path2