GitHub is designed to help people better manage open-source projects.
The open source version control software that lets multiple people make separate changes to codes at the same time.
GitHub has free public account, but for private repositories, should pay monthly & it’s not free.
Introduction to GitHub
After creating GitHub account, you can create a Repository on it, and push your local repository to GitHub or pull repository from GitHub to your local repository.
q Create Personal Access Token on GitHub: (from 13 August 2021)
From your GitHub account, go to Settings => Developer Settings => Personal Access Token => Generate New Token (Give your password) => Fill-up the form => click Generate token => Copy the generated Token, it will be something like below:
ghp_sFhFsSHhTzMDreGRLjmks4Tzuzgthdvfsrta
Use that token as your password when you want to push/pull or clone something.
Push a Local Repo to GitHub
For pushing your Local Repo to a GitHub Repository, do below steps:
1.First, create a repository in your GitHub and copy its HTTPS address:
2.Then, in your local repo, use below command to push it to you GitHub Repo.