The best practice is to have a single version of your website
Normally there are 4 versions of your website if you are using HTTPS and 2 versions if you are using HTTP
The best thing to do is select a version that you want the users to visit and redirect all other URLs to this selected version.
For example you select the 4th URL, then it is good that all the other 3 versions redirect to the selected URL.
If you do not wish to redirect users to the selected one then you need to add a canonical link of your selected URL on the other 3 versions or else there might be a content duplication issue. Consider reading this guideline by Google Consolidate duplicate URLs
Which version to add in the search console?
Some SEO blogs advice users to add all versions of the website in the search console Which URL versions to add to Google Search Console. However if you implement the above guidelines of either redirecting or adding a proper canonical link, then it is upto you to add either only one version of the website or all the 4 versions to the search console. Google search console now adds the domain property that automatically consolidates all the versions of your website
Which version to add in the sitemap?
The answer will be the same. If you either redirect or add a proper canonical link, then even if you add all the versions of URLs to the sitemap there should not be any issue with Google.