Login to github.
Go repository tab
Click button on "New"
Type Repo name eg: rn-starter
Click button on "Create repository"
Copy "git remote add origin https://github.com/farooquiawais2/rn-starter.git"
-
git init
-
git add .
-
git status
-
git commit -m "first commit"
-
git remote add origin https://github.com/farooquiawais2/rn-starter.git
-
git push -u origin master