I\'m not sure how I have got myself into this mess. But I am running into error: object 15abe3affffde5ad5f7d25e8f0f220d2e9faf3cb22:contains entries pointing to null
w
I was able to finally solve this issue. Here is what I did to solve it:
In article https://help.github.com/articles/remove-sensitive-data there is a heading for Purge the file from your repo. I following their example for removing the Rakefile but used the problematic folder instead:
git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch modules/sudo' --prune-empty --tag-name-filter cat -- --all
Since the problematic tree was a folder I added -r
to the command. The result was a cleanup of all the commits for the sudo modiles and thus, object 15abe3affffde5ad5f7d25e8f0f220d2e9faf3cb22 disappeared! After a commit of the changes, the push was successful. I was able to later re-add the broken module without issue.