create new online repository git bash code example
Example 1: git clone command in terminal
note: your_url is your git hub url get it from the github Copy the clone command (either the SSH format or the HTTPS)
git clone your_url
Example 2: how to rename a file inside git bash
$ git clone [email protected]:username/reponame.git
$ cd reponame
$ git mv README README.md
$ git commit -m "renamed"
$ git push origin master