This can be done with the following commands
git pull --squash origin_PJREDDIE master
git add --all
git commit -m "Merge upstream PJReddie fixes"
git push -f https://gitlab.com/EAVISE/darknet.git master
Of course, if during the pull merge conflicts appear, you need to solve those first.