How to Install bfg on Mac using Brew

Package Information:

Name: bfg
Use: The BFG is a simpler, faster alternative to git-filter-branch for cleansing bad data out of your Git repository history.
URL: https://rtyley.github.io/bfg-repo-cleaner/

Installation Steps:

  1. Open Terminal using Spotlight search by pressing <command+space>. Type terminal and hit Enter key.
  2. Now, Execute
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install bfg using brew
    brew install bfg

bfg is ready to use now!