/Engine/Source/Developer/SourceControl/Public/SourceControlHelpers.h
Quick check if currently set source control provider is enabled and available for use (server-based providers can use this to return whether the server is available or not)
true if source control is available, false if it is not
static bool IsAvailable()