// Online Git repository commands
git remote add origin <repository URL>
- Add the remote online repository
-
git push -u origin master
- push the local git repository to the origin to the - master branch
git clone <repository URL>
– Clone an online Git repository to your computer