How to remove Big Files and Folders from Git or How To Fix Github’s Maximum File Size Problem

I have recently had the problem that I wanted to move my Git repositories from a self-hosted repository to Github. One of those repositories contained a fair amount of external libraries (to be precise lots of Cocoa pods). When I tried to push the repository to Github, I would get to see warnings like this:

~/D/north-kites-ios (develop↑1|✔) $ git push github develop

remote: warning: File Pods/GoogleMaps/Subspecs/Maps/Frameworks/GoogleMapsCore.framework/Versions/A/GoogleMapsCore is 74.85 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB

error: failed to push some refs to ''

git Version Control

Git is Easy

Actionscript Adobe Air eclipse Flash Builder git

Create New Project from Git Source in Flash Builder

Nowadays, more and more open source projects are hosted on Github – amongst others some great Actionscript-based projects. Actually, Git makes it simple to clone and import a working project to which you can actually commit changes (at least to your cloned, local repository). However, I found it quite complicated to get from the git link to a working project in Flash Builder: I needed to consider a few aspects to get everything up and working. I want to present the approach that worked for me in the following. If you know or figure out a better way, make sure to post it in the comments!