- Create a free GitHub account.
- Create and initialize a new repository (public) that represents a programming assignment you have done for another class.
- Make sure you initialize it with a README.
- Using your favorite Git client (https://git-scm.com/downloads/guis), modify the README file on your local computer and push your changes. I happen to like the command line version, and I recommend everyone know enough command line git to do the basics.
- Add your code to the repository (add, commit, and push).
- Modify something in the code (it can be documentation) (add, commit, and push).
There are a million online resources for Git, but a good place to start is guides.github.com. A lot of valuable information to read.
There are a lot of fun articles out there about why you should learn Git. Here is one.