To understand what's going on here, first distinguish three things:
Swift library is the Swift native types, like String and Array.
Foundation is the Cocoa Objective-C basic set of types, like NSString and NSArray and NSDate and NSData.
Swift also contains an overlay library that shadows (without obscuring) types in the Foundation. For example, Date shadows NSDate, and Data shadows NSData. This makes the Cocoa Foundation a lot easier to use in Swift.
Note that there are two very different relations in which a Swift type can stand with respect to a Cocoa Objective-C type.
String and Array are completely independent native Swift types. They are bridged to NSString and NSArray respectively, but they exist without Foundation.
Data and Date are merely facades for NSData and NSDate respectively. If you import Swift but not Foundation, Data and Date are not even present.
Okay, so far so good. But this situation presents a quandary, because one would like to use Data and Date without the need for Foundation, in places like Linux that do not have it in the first place. Therefore, the project you have pointed to, https://github.com/apple/swift-corelibs-foundation, provides a backing for Data and Date (and so on) independent of Foundation.
But if you are developing for iOS or MacOS you would never use it, because the real Foundation is present.