Refactor git tasks and split up change events