Note: In this blog post the operations that are presented will override git history. Be careful what you’re doing and backup your repo if you’re not sure what you’re doing. Few weeks ago I froze gems on my blog and ended up with a very big repository. So, I wanted to clean up the mess and remove permanently gems folder from the repository. git rm wasn’t doing the job well, it only removes the fold