To publish our HelloWorld repository, we simply have to add its first remote; adding a remote is quite simple: git remote add origin <remote-repository-url>
So, this is the full command we have to type in the Bash shell:
[27] ~/HelloWorld (master) $ git remote add origin https://github.com/fsantacroce/HelloWorld.git
Adding a remote, like adding or modifying other configuration parameters, simply consists of editing some text files in the .git folder, so it is blazing fast.