Intro: What is version control and working open?

[Table of Contents] - [NEXT: Let’s get started with GitHub»]

Hands up - who has heard of version control software?
What do you think it does?


What is Version control?

The management of changes to documents, computer programs, large web sites, and other collections of information.

Examples:


Where did it come from?

The need for a logical way to organize and control revisions has existed for almost as long as writing has existed, but revision control became much more important, and complicated when the era of computing began

Elements of a Version Control system



What is git?

Open source (free to use) Version control software. Usually accessed via the command line, or a client program.

Where did it come from?

Git development began in 2006 after many developers of the Linux kernel gave up access to BitKeeper (at the time the best but proprietary)

Linus Torvalds on the name git:

“I’m an egotistical bastard, and I name all my projects after myself. First ‘Linux’, now ‘git’

More on the name in the source code original readme file



Why use it in research?

Exhibit A

Exhibit B



What is GitHub

A website that allows you to store your Git repositories online and makes it easy to collaborate with others. They also provide other services like issue (bug) tracking and wikis. Similar services are GitLab and BitBucket.

Why use it in research:


Anatomy of GitHub Repo

(This list was largely inspired by Mozilla’s open leadership 101.)

Example repositories



What is GitKraken

GitKraken: A client for working with Git that uploads your work to GitHub. Another is SourceTree, and there’s a big list of clients on the git website.



Recap: git, GitHub, & GitKraken

git allows you to effectively “save” your work at important points in time and come back to any of the save points.

Sharing our work on GitHub allows others to inspect our work, make copies and contribute back changes.

GitKraken allows you to work with both from a single graphical user interface.

Git, GitKraken, and Github are three separate things. Git is the system used for version control, but you don’t have to use it with GitHub or GitKraken.

Always remember

[Table of Contents] - [NEXT: Let’s get started with GitHub»]