Stealing more awesome git/ruby stuff from @bkuhlmann