This is INDEED a lot simpler.   Even so, I'd find it helpful to include a brief comment for each command here.  I know git pretty well, and there's still some stuff going on here that takes me a while to parse through and figure out.  For someone with less familiarity, this is going to be a tough method to grok.