Migrating to SharePoint

We have to migrate files to SharePoint along with previous versions. In my local system all versions are available in different folders (E.g. Folder 1 for all files with their Version 1, Folder 2 with all their files with version 2 and so on). We want to migrate all these files to SharePoint along with their versions.

I was looking for some option to migrate these folders one by one to Explorer view to make versioning in SharePoint but it seems I have to checkout for creating a every new version.

Is there any other way to migrate all the previous versions of files to SharePoint?