I'm confused.  How are "push to lms" and "export to git" the same thing?  Is this particular to the MITx workflow?  I've heard you have a github hook involved.  We should keep this code narrow in focus and name it what it does.