My client has a Magento eCommerce website on a production server.
We now want to bring this existing website into a GIT repo
.
We opted for using the hosted version of GitLab which is an open source GitHub clone. We opted to use the hosted version instead of self hosting in-house.
So my question right now is. How do I go about adding this existing codebase to a hosted GIT repo?
Should I:
- download the full site codebase to my local PC
- Make it a local GIT repo
- Then push the local repo to the remote GitLab server repo?
Or should I go a different route?
I have previously only used Git on small per project basis and never on a whole website like this!