Repositories are basically folders that contains your files(code) for your project.
To create a new repository use the following command :
git init repository name
For example if you need to create a repository called "project-x", you would type:
git init project-x
This would create a new repository in the folder you are currently in.
Now we can start adding our files
You can clone repositories that you see online. You will need the cloning url to clone.
It will be displayed on the repository website. Use this command to clone:
git clone url
This will download the repository to the directory you are at.
For example, if you want to clone this repository - https://github.com/AK04/Guess-game , infact you can try too :) ,
you would use:
git clone https://github.com/AK04/Guess-game
This would download my repository to the directory you are at.