I have a git repository called "shop" that has the remote "oldserver.com"
[email protected]:shop.git
How do I create the shop.git folder from my local repository, so I can load it on my "newserver.com" (that uses gitolite or gitosis) so we can use that as a new remote?
If I understood your question correctly, you have three repositories:
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:
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:
In this case there is no need to push anything.