Unfortunately, almost all steps are necessary, although locally you can avoid re-creating the repo by cloning it.
Just run the repo and add the remote
cd my_repo git init git remote add origin ssh://myserver/my_repo git add . git commit -m "Initial commit" git push -u origin master
Note that the -u option will add a tracking link, so later you can just type git push instead of git push origin master .
source share