change Git* to QSharedPointer<Git>