Learning Git and GitHub
This hands-on course teaches participants how to integrate Git and GitHub into their daily command-line workflow. Git operations, customizations of Git functionality, and how to connect to Git via Eclipse are covered as well.
Description
Overview
This course is designed to introduce students to the basic concepts and workflows of using Git and GitHub. Through hands-on exercises and projects, students will learn how to create a Git repository, make and commit changes, create and merge branches, resolve conflicts, and push changes to a remote repository on GitHub. They will also learn how to collaborate with others on a project, including how to fork, clone, and submit pull requests. By the end of the course, students will have a solid foundation in Git and GitHub that will enable them to manage and collaborate on code projects effectively.
Course Objectives
After completing this course, students will be able to:
- Install and run Git
- Describe basic concepts of Git version control
- Work on multiple branches
- Optimize merging and fixing merge conflicts
- Create and manage GitHub repositories
- Collaborate using GitHub
Who Should Attend
This course is designed for developers who want to learn about Git and GitHub
Course Outline
Lesson 1: Introduction
- Introduction to Version Control Systems
- The Birth of Git and Why Git?
- What is GitHub?
- GitHub Repository Concepts
Lesson 2: Getting Started
- Getting Ready for Class
- Getting Started with Collaboration
- GitHub Flow
Lesson 3: Caption This
- Branching with Git
- Local Git Configs
- Working Locally
- Collaborating on Code
- Editing on GitHub
- Merging Pull Requests
- Local History
- Streamline Workflow with Aliases
Lesson 4: Merge Conflicts
- Defining a merge conflict
- Resolving merge Conflicts
Lesson 5: GitHub Games
- Workflow Review
- Protected Branches & CODEOWNERS
- Git Bisect
- Reverting Commits
- Helpful Git Commands
- Viewing Local Changes
- Tags & Releases
- Workflow Discussion
Lesson 6: Local Repository
- Create a Local Repo
- Fixing Commit Mistakes
- Rewriting History with Git Reset
- Cherry Picking
- Merge Strategies