Github, also for dummies
Why also? because this story is the sequel of the previous story of “Git for dummies”. So, let’s straight to the main point shall we?
Github
Github, or Gitlab, BitBucket, and SourceForge for the alternatives, is a platform for hosting software development using Git as the VCS. It is providing the service of Git functionality such as Distributed Version Control and Source Code Management (SCM) as well as adding its own features such as bug tracking, feature request, and tasks management.
Making Github Account
First of all, we need to make an account in Github in github.com and following the steps to join the Github. If you already have an account then you can use that one.

Now after making an account, we can make a new repo in the Github. You can find the “New repository” option in the “+” button in the upper right of the website.

Then the repository form will come up. Just make it the same with the local repo that we have in our previous tutorial to avoid confusion.

The “description” is optional for the repository. “Public” means that the repository can be seen by everyone and you can choose who can commit to the repository, while “Private” means that the repository can be seen and commit by your chosen people. If we check the “Initialize this repository with a README” then later we will be directed to make README file and the file will include in your new repository. Since we want to clone a repository from our computer then we can skip it. After you have done with this, click “Create Repository”.

Now the Quick setup for the new repository has shown up. You can see that there is no issue, pull request, we can use the one with the remote command and use it in our local repository:
git remote add origin [your Github HTTPS/SSH link]
“Remote” is a command to do connection with a remote repository. “add” is a command to add a new connection with a new remote repository. “origin” is the name of the remote repository. The last part of the command is the link to the repository in github (or any other) which you can find on. We can check the connection list by using the command:
git remote or git remote -v for more detailed information


Now origin is accessible but the repository in Github won’t update for themselves. So if we check the repository in the githubthere will be nothing happen there because we haven’t store our data there yet, or in this case we call this activity as a “push”. To do the push activity we can use the command of:
git push -u origin master

“git push” is the command to do the push activity. “-u” is the command to make an upstream connection from Git to Github and allowing us to use just “git push” or “git pull” if we want to push or pull our code in the future. Then the last “origin master” is the specific address of the push because not only to which repository but also which branch.
Actually for the first time you will be asked for the username/email and password of your github account.
