Ever make changes that broke your code and forgot how it was working before? Want to work together with someone on a code project, but aren't sure who has the latest version of a particular file? Version control can solve these and other problems!
Git is a popular version control application that can track your code changes, as well as help you to be more methodical in your programming. Win-win! This session will introduce the basics of version control, how to use git to keep track of your changes to a project, and using GitHub (a hosting service) to collaborate with other developers.
This class will be broken up into two sections. The first section will be lecture-based and will cover:
• the basic concepts of version control
• the differences between git and other version control applications
• fundamental git commands to track changes to a small project
• the basics of collaborating on code with other developers
• how to use GitHub
The second section will be a lab where you'll put that new knowledge to work by creating a GitHub account and setting up git on your machine. At this point students are welcome to work on their own GitHub projects with instructor assistance.
Want to try Git for yourself? Github has a 15-minute tutorial you can go through on your own here.
This class will not use actual code when committing to a GitHub repository, so no need to worry about knowing a particular programming language. A willingness to use the command line to execute commands is necessary. We will be changing directory, listing directory contents, and using git from command line throughout the class.
Special thanks to Vermont Works for Women for hosting this workshop!