I have installed Magento 2 a month ago on a server. The framework location is
\vendor\magento\framework
I just downloaded a new archive to load it into my IDE, but the strange thing is it has a different path for the framework.
\lib\internal\Magento\Framework
Edit: \app\code\Magento was what i had as a path in the first place. But those seems to be the modules just like Magento 1? To be clear, my server doenn't have this path or any contents. To sum up: I am confused.
What is the difference? Which one is preferend and why? And, how can i get the same version locally without having to download all the files from the server?