guides

Learning Git / GitHub 🐙🐱

EDS GitHub Organization

Overview

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
- https://git-scm.com

GitHub is a web-based hosting service for version control using Git. It is mostly used for computer code. It offers all of the distributed version control and source code management (SCM) functionality of Git as well as adding its own features.
- GitHub Wikipedia

Signup & Installation

GitHub

Go to GitHub.com and hit Sign Up.
You can’t change your username later, so choose carefully. 🙂

GitHub Signup

After signing up, email jordan_white@sfu.ca your username and he will add you to the Everyday Design Studio organization.

You can edit the Guides from the web interface. However, the full power of GitHub is using it to keep track of changes to files on your local system and collaborately working on the same project with other people.

Installing Git

First you need to download a program called Git onto your computer. Git is the underlying technology that GitHub is built on top. It was developed by the legendary Linus Torvalds, the same fellow who wrote the Linux kernel.

Below are steps for both Mac and Windows on how to install Git along with accompanying GUI software to makde it easier to use.

Git Download

Mac

Tutorial: Install Git on Mac
Direct Download of Git

Terminal
After installing Git, you can begin using it via the Terminal.

Sourcetree
If you are brand new to Git, it is recommended to first use a GUI. Sourcetree is the best GUI Mac software for Git.

Windows

Tutorial: Install Git on Windows
Direct Download of Git

Git for Windows
Since Windows doesn’t come with a built in terminal, you’ll need to first download a command line program before using Git. We recommend Git for Windows.

After clicking Download you’ll be taken to a GitHub page where you will see download links at the bottom of the page. Select either the 32 or 64 bit version depending on your computer. (More than likely you’ll want the 64 bit version).

Sourcetree
If you are brand new to Git, it is recommended to first use a GUI. Sourcetree is the best GUI Windows software for Git.

Using Git & GitHub

Below are some great tutorials to learn the basics.

Register a Public SSH Key

You must create a public SSH key and register the key to your Github account to be able to clone, pull or push without having to enter your username and password each time.

Thats it! You should be good to clone, push, pull, and checkout.


Home | Git Commands | Markdown