/Engine/Source/Developer/SourceControl/Public/ISourceControlState.h
Get whether this file is checked out or modified in a different branch, if no branch is specified defaults to FEngineVerion current branch
bool IsCheckedOutOrModifiedInOtherBranch ( const [FString](API\Runtime\Core\Containers\FString) & CurrentBranch ) const