sudo apt install git
mkdir -p ~/repos/ppnmgo to your directory,
cd ~/repos/ppnmclone your (empty) repository at the server to this directory,
git clone address-of-your-repository ./if you use git, or
hg clone address-of-your-repository ./if you use mercury.
git add --all git commit --all -m 'Initial commit' git pushor, if mercurial,
hg add hg commit -m 'Initial commit' hg push