клонируем репозиторй
git remote add origin https://<НОВЫЙ_ТОКЕН>@github.com/vsgrade/MikroTik-Controller.git .
(точка в конце = клонировать в текущую папку)
После этого в корнепроекта будут папки проекта и файлы проекта.
Если нужно обновить версию.
git pull origin main
Ошибки:
При такой ошибки:
root@hosting:/www/wwwroot/node-project/routercontroltest1# git pull origin main
fatal: detected dubious ownership in repository at '/www/wwwroot/node-project/routercontroltest1'
To add an exception for this directory, call:
git config --global --add safe.directory /www/wwwroot/node-project/routercontroltest1
Вводим команду (меняем путь на свой)
git config --global --add safe.directory /www/wwwroot/node-project/routercontroltest1