I've just started to learn git and wondering if there is a good way to use git for recovering homebrew and all formulas after the complete reinsallation (instead of installing homebrew and all formulas from scratch on the fresh osx) ... Is it a good idea to create a repo for /usr/local before the reinstallation of os x and then recover it from git? Does anyone have a recipe for this?
Thank you!