Creating git repository. The following command shows how to create git repository and clone repository.
Create repository:
git init [project-name]
Clone repository:
git clone [url]
After creating git repository link with remote repository:
git remote add origin [url]