On command line, I could open a directory like:
code .
Now, I want two of the identical diretory opened and displayed in another window.
In addition to accepted answer, here's the trick if you want to open same project in two different windows but showing two different git branches:
Copy the project folder and open that folder!
If you want two windows in two different git branches then this simple trick works. I don't know of any other solutions.