/Engine/Source/Developer/SourceControl/Public/SourceControlHelpers.h
Helper class that ensures FSourceControl is properly initialized and shutdown by calling Init/Close in its constructor/destructor respectively.
class FScopedSourceControl