git is a program for saving the history of changes you make to your files.
Saves “snapshots” of your project with descriptive messages.
Useful if you break stuff, or decide you want to change something back.
Without this its impossible to go back to an old version of a file.
Professional code is “version controlled” with git, so it’s important to learn.
GitHub is a website for backing up and sharing your files.
Sync your project from your computer to their website using git.
A bit like Dropbox for your code.
GitHub is not the same as git (despite the name).
There are other similar sites like Gitlab and Bitbucket.
There are a few ways to use git:
If you’re just getting started, check out this workshop