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.

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

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