Example 1: what is github
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.
Example 2: Git
Git is a distributed version-control system for tracking changes in source
code during software development.
It is designed for coordinating work among programmers, but it can be used to
track changes in any set of files.
Its goals include speed, data integrity, and support for distributed,
non-linear workflows.
Example 3: git
git init
git add .
git commit -m "First commit"
git remote add origin "URL of repository"
git push --set-upstream origin master
Example 4: git hub set up
mnelson:myproject mnelson$ git remote add origin https://github.com/cubeton/mynewrepository.git
mnelson:myproject mnelson$ git push -u origin master
Counting objects: 3, done.
Writing objects: 100% (3/3), 263 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To https://github.com/cubeton/mynewrepository.git
* [new branch] master -> master
Branch master set up to track remote branch master from origin.