In advance of each session, Tech Training will provide you with a Zoom link to your class, along with any required class materials.
This half-day session is intended to introduce GitHub, a host and online community that allows collaboration on private or open-source projects.
Git is a powerful version control system central to the open-source code revolution, allowing us to manage, track, repair, and share our codebase. Github is a host and online community that allows collaboration on private or open-source projects.
Prerequisite:
Learners should have an understanding of Basic Programming.
Once you have learned the basics of coding it is important to both share your expertise as well as to learn from others' code.
GitHub is an online community for facilitating code collaboration and you will have the opportunity in this class to learn, step by step, how it works and how you can use it to store and collaborate with others online.
GitHub has become the default platform for code development, but it is also ideal for sharing and storing other text-based documents. We will begin with setting up GitHub on your desktop and launching your first project. You will create a repository for your coding projects and then explore how to clone others' repositories and improve your workflow.
Learning Objectives
During this course, you will have the opportunity to:
- Store and share your work online with GitHub
- Understand the basics of GitHub so that you can contribute to coding projects
- Collaborate on GitHub with others on your team
- Keep track of projects, and work more effectively with others
- Share your code, contribute to and learn from others' code
Topic Outline:
Overview of Git and GitHub
- Understanding Version Control
- Signing up for a GitHub Account
- Personalizing Your Account
- Milestone 1 Learning Exercise: Setting up GitHub Desktop
Using GitHub
- Setting up a Repository
- README.md
- Adding a File
- Viewing, Modifying, Committing Changes
- Milestone 2 Learning Exercise: Create a repository, add a file, modify and commit changes
Collaborating
- Cloning a Repository
- Forking a Repository
- Pull Request
- Committing to a Branch
- Collaborating on Pull Requests
- Pushing Code to GitHub
- Project Management
Publishing Content
- Wikis
- GitHub Pages
Configuring Repositories
- Adding Collaborators
- Configuring Branches
- Managing Members and Teams
- Milestone 3 Learning Exercise: Downloading and Working Offline
Conclusion: Next steps
University IT Technology Training classes are only available to Stanford University staff, faculty, students and Stanford Hospitals & Clinics employees. A valid SUNet ID is needed in order to enroll in a class.