Git trigger

@smathieu could you review this please?
These methods really belong in their own class.