You don’t need GitHub to use Git. Git = Local (on your computer); GitHub = Remote (on the web).
GitHub allows you to:
- Share your repositories with others.
- Access other users repositories.
- Store remote copies of your repositories (on GitHub’s server) in case something happens to your local copies (on your computer).
Creating a GitHub Repository