git-backup
A lot of Git trouble can be avoided by branching before powerful operations like rebase. This Gem adds a git subcommand for making that easy.
Installing from RubyGems.org
sudo gem install git-backup
Installing locally
git clone [email protected]:cstdenis/git-backup.git
cd git-backup
sudo rake install