If you have the project locally, but not versioned with Git:
cd local_project_dir
git init
git remote add origin @@ri::clone_url_http@@
# or
git remote add origin @@ri::clone_url_ssh@@
# commit something
git push origin --all
git push origin --tags
If you are switching from another Git hosting provider:
cd local_project_dir
git remote set-url origin @@ri::clone_url_http@@
# or
git remote set-url origin @@ri::clone_url_ssh@@
git push origin --all
git push origin --tags
If you do not have the project locally, and want to clone it:
git clone @@ri::clone_url_http@@ local_project_dir
or
git clone @@ri::clone_url_ssh@@ local_project_dir
cd local_project_dir