Overview
Teaching: 10 min Exercises: 0 minQuestions
What is Git/GitHub?
Why do I need a GitHub account for this event?
Why are we joining a GitHub organization?
How do I configure my account so I can access cloud computing resources?
How will GitHub repositories be structured?
Objectives
Arrive at the hackweek with a GitHub user id and having joined the correct GitHub organization
Configure GitHub so that you can connect to our shared cloud computing resources
Git is a popular version control system that is the foundation of most open source software development. You are not required to know Git in advance of this event, but come prepared to learn a lot about it! GitHub is a hosting service for Git repositories, enabling us to share code across teams in a web environment.
git
command on my local machine?If you don’t have Git installed on you local machine, you can download the latest installer on Git-SCM. More help for the install process can be found in the official Git documentation
There are three reasons you are required to have a GitHub account for the hackweek:
So, if you don’t already have a GitHub account, just navigate to GitHub:
Then, click on the big green button and then answer a few required questions. Be sure to save your password somewhere safe because you will need it later!
GitHub organizations are a convenient way for teams to get all content relevant to a specific project our workshop into one place. By having everything in one central location you will spend less time searching for hackweek content. GitHub organizations have ``teams’’ that offer simple ways to provide respository access to groups of people, rather than individuals.
We have created a GitHub organization called geohackweek. For security purposes you can only join the organization by invitation. Here are the steps:
As you’ll learn in the next lesson, we will use the geohackweek GitHub organization as a way to manage access to our cloud computing resources. In order for this to work each person must have public, rather than private membership in the geohackweek organization.
First, navigate to the “People” tab on the geohackweek GitHub organization:
Now, if you see “Private” to the right of your account, you will need to switch this to “Public”:
The steps for doing this are also well documented on this GitHub help page.
When you click on the “Repositories” tab in the geohackweek GitHub Organization you will see a list of names, each of which links to a separate GitHub repository:
Each repository is a container for a specific subset of material for this event. For example, we have a separate repository for each tutorial. There is a repository for the public-facing website you used to register for this event, and a repository for the wiki page. We’ll also create new repositories for each project when we meet in person.
We encourage you to start practicing with Git and GitHub in advance of this event. Our tutorials will follow this lesson. Additional tutorial content from our past hackweeks is here. As always, feel free to post questions on Slack if you run into any difficulties!
Key Points
Git is a version control system; GitHub is a web environment for sharing code
we use Git as a way to control who has access to our cloud resources
You must have a GitHub account to attend this hackweek
Your GitHub membership in our organization must be set to “Public” so you can access our shared cloud resources