Moving git operations to their own package