Version Control via Git and Github

June 2, 2015

What is Version Control?



Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later.



How do you record the history of your projects?

Bad

Piled Higher and Deeper by Jorge Cham, http://www.phdcomics.com

Good

2013-10-14_manuscriptFish.doc
2013-10-30_manuscriptFish.doc
2013-11-05_manusctiptFish_intitialRyanEdits.doc
2013-11-10_manuscriptFish.doc
2013-11-11_manuscriptFish.doc
2013-11-15_manuscriptFish.doc
2013-11-30_manuscriptFish.doc
2013-12-01_manuscriptFish.doc 
2013-12-02_manuscriptFish_PNASsubmitted.doc
2014-01-03_manuscriptFish_PLOSsubmitted.doc
2014-02-15_manuscriptFish_PLOSrevision.doc
2014-03-14_manuscriptFish_PLOSpublished.doc

Better - Saving everything together at once



Everytime you make a save, you zip the entire directory that your project files are in and save it with a date.

Best - Version Control