http://www.git-tower.com/blog/make-git-rebase-safe-on-osx/