Ever make changes that broke your code and forgot how your code worked before? Want to work with someone on a code project, but aren't sure who has the latest version of a particular file? Version control can solve these problems and more!
Gitis 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 usingGitHub(a hosting service) to collaborate with other developers.
We will start the class by setting up your GitHub account and configuring git on your machine. We will then go through a lecture followed by exercises to help you become a git pro!
The lecture 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 in a professional environment
how to use GitHub
Want to try git for yourself? Github has a 15-minute tutorial you can go through on your ownhere.
Prerequisites:
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 is necessary; we will be changing directories, listing directory contents, and using git from the command line throughout the class. You should bring your own computer to class and have administrative privileges for installing software. Also, don't forget to bring your own laptop and power supply.