The Article shows you How to Add a Remote Origin to a GIT Repository with Custom SSH Port.
To the Bottom you Find also Link to Others Interesting tutorialforlinux.com Git Guides.
The complete Command to Add a Remote Repository with Connection over SSH with Port Number Parameter is:
git remote add origin ssh://USERNAME@: / ToRepository>
Example:
git remote add origin ssh://bob@besthost:2222/home/bob/repo.git
Git How to Unstage Already Staged Changes.
Git Unstage Changes
Git How to Push To Remote Repository.