Create Repository on Github using terminal

Their are two ways to create a repository

1.First login to Github and after that it will give you few option to create a repository.

2. Second method is by using terminal-:

first open terminal using ctrl+alt+t

then type command

$curl -u 'USER' -d '{"name":"REPO"}'

here instead of USER you will write your Github username

and instead of REPO at the end you will write your repository name -on-github


press enter.

3.Type your password of your Github account then press enter.

Congratulation! You have created your repository using terminal 🙂