Split out GitTask to separate file