If I understood your question correctly, you have three repositories:
- a remote repository at oldserver.com, which was used to host your code
- a remote repository at newserver.com, which you want to host your code now
- a local repository, which has oldserver.com defined as remote "origin"
Assuming you already pulled everything from oldserver into your local repository and you already created the new repository in gitosis on newserver, and you configured gitosis to allow you access to that new repository, you can do:
git remote add newserver git@newserver.com:shop.git
git push newserver master
If you have any other branches or tags, just push them, too.
If you need to manually create the repository on newserver you can use:
git clone --mirror git@oldserver.com:shop.git
In this case there is no need to push anything.