Prep and Installation
To join the wonderful world of version control, please create a GitHub account and install Git on your system.
1. Get a GitHub Account
GitHub is a Git repository hosting service, a place to store and sync your work in the cloud. Take a minute to create a free account. They provide some great introductory tutorials, but you can probably ignore them if you are coming to the workshop!
2. Install Git
Git version control system is a piece of software you install on your computer. Installing it is pretty easy:
- Windows: install Git for Windows using the default options, except when setup asks you to choose the default editor used by Git, select “Use the Nano editor by default”. This will give you Git, Git Bash, and Git GUI. Git Bash is a great terminal that lets you use UNIX style commands and utilities on Windows.
- Mac: check if Git is already installed by opening terminal and typing
git --version. If you do not have it, download the official Mac installer.
- Linux: install from your distribution’s software center or package manager (for Ubuntu
sudo apt install git).
When working with code you should have a good text editor. Windows notepad does not handle UTF-8 encoding or UNIX line endings that are standard for most cross platform applications. For basic editing, Windows Notepad++, Mac TextEdit, or Linux Gedit are sufficient. However, a more complete code editor will be helpful for working on projects and can often integrate with Git to make your life easier.
Open-source cross platform suggestions:
This workshop introduces the basic Git workflow using the command line and GitHub web interface. However, you may prefer a GUI application for your future day-to-day work with Git. There are a variety of GUI apps available for managing and visualizing Git repositories.
If you are interested in using a simple visual app integrated with GitHub, Windows and Mac users should install GitHub Desktop using the default options. A more powerful alternative is SourceTree from Atlassian / BitBucket. On Linux gitg and GitKraken are good options.