Git commands to create empty private repository

I would like to know how to create empty private project using git commands without creating project in gitlab ui and cloning them. Please help.

STEPS FOLLOWED:
mkdir testrepo;
cd testrepo;
git remote add pushOrigin “https://:@/gitlab/root/”;
git push pushOrigin

ERROR:
error: src refspec refs/heads/main does not match any
error: failed to push some refs to ‘https:///gitlab/root/testrepo’