git config --global gui.gcwarning false
- the warning is actually an indication that you might want to cleanup your repo, so if you keep the warning you may want to run this when you see it
git gc --prune=now
- http://git-scm.com/book/en/Git-Internals-Maintenance-and-Data-Recovery