Check out example codes for "what is github". It will help you in understanding the concepts better.

Code Example 1

it is like a free unlimited cloud storage

Code Example 2

echo "# practice" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/shlee87/practice.git
git push -u origin master

Code Example 3

adding git remote origin

Code Example 4

git config --global user.email "[email protected]"

Code Example 5

GitHub, Inc. is a United States-based global company that provides hosting for software development and version control using Git.

Code Example 6

GitHub, Inc. is a United States-based global company that provides hosting
for software development version control using Git. In 2018, it became a
subsidiary of Microsoft for US$7.5 billion.

It offers the distributed version control and source code management
functionality of Git, plus its own features.

Learn ReactJs, React Native from akashmittal.com