add remote repo
#Setting up a public repository
##In the remote location create a bare repo:
git init bare
##In the local repo, add remote reference
git remote add ‘nameOfRemote’ ‘URL to remote’ //note if this is default remote use ‘origin’ for name
##Push your new local repo to this remote
git push --all