Overview
Welcome to the GitHub Essentials course! This one-day intensive program is designed to equip you with the foundational skills and knowledge needed to effectively use GitHub for version control and collaboration. By the end of this course, you will be comfortable with creating repositories, making commits, branching, making pull requests, and managing merge conflicts.
Prerequisites
- No prior experience with GitHub or Git is required.
- Familiarity with basic command-line operations is helpful but not mandatory.
Please note: Learners will be asked to sign up for their own free of charge GitHub account for this course.
Delegates will learn how to
By the end of this course, participants will be able to:
- Create and set up GitHub repositories.
- Perform basic Git operations such as commits, pushes, and pulls.
- Work with branches including creating, switching, and merging them.
- Create and manage pull requests for collaborative development.
- Resolve merge conflicts using Git tools.
- Understand and navigate the GitHub interface and features.
Outline
Session 1: Introduction to GitHub
In this session, we'll cover the basics of what GitHub is and why it's an essential tool for developers.
- Overview of Git and GitHub
- Understanding version control
- Setting up a GitHub account
- Exploring the GitHub interface
Session 2: Repository Creation and Setup
Learn how to create a new repository, clone it locally, and set up your project.
- Creating a new repository on GitHub
- Cloning the repository locally
- Setting up your project structure
- Adding a README file
- Initializing a .gitignore file
Hands-On Exercise:
- Create a new repository named 'MyFirstRepo'
- Clone it to your local machine
- Initialize a README and a .gitignore file
Session 3: Basic Git Commands
This session introduces essential Git commands that allow you to manage your repositories effectively.
- git init
- git status
- git add
- git commit
- git log
- git push
- git pull
Hands-On Exercise:
- Make a commit to your repository
- Push your changes to GitHub
- Pull changes from the remote repository
Session 4: Branching and Merging
Learn how to create branches, switch between them, and merge them back into the main branch.
- Understanding branches
- Creating a new branch
- Switching branches
- Merging branches
- Deleting branches
Hands-On Exercise:
- Create a new branch named 'feature-branch'
- Make a commit in the new branch
- Merge 'feature-branch' back into the main branch
Session 5: Pull Requests
Understand the concept of pull requests and how to use them for code review and collaboration.
- What is a pull request?
- Creating a pull request
- Reviewing and discussing code changes
- Merging a pull request
- Closing a pull request
Hands-On Exercise:
- Create a pull request from 'feature-branch' to the main branch
- Review the pull request
- Merge the pull request
Session 6: Managing Merge Conflicts
This session addresses common merge conflicts and how to resolve them effectively.
- Understanding merge conflicts
- Identifying conflicts in your code
- Using Git tools to resolve conflicts
- Committing resolved conflicts
- Best practices for avoiding merge conflicts
Hands-On Exercise:
- Simulate a merge conflict
- Resolve the conflict using Git tools
Session 7: Review and Q&A
Wrap up the course with a review of key concepts and an open Q&A session to address any remaining questions.
- Recap of key concepts
- Q&A session
- Next steps and additional resources

Frequently asked questions
How can I create an account on myQA.com?
There are a number of ways to create an account. If you are a self-funder, simply select the "Create account" option on the login page.
If you have been booked onto a course by your company, you will receive a confirmation email. From this email, select "Sign into myQA" and you will be taken to the "Create account" page. Complete all of the details and select "Create account".
If you have the booking number you can also go here and select the "I have a booking number" option. Enter the booking reference and your surname. If the details match, you will be taken to the "Create account" page from where you can enter your details and confirm your account.
Find more answers to frequently asked questions in our FAQs: Bookings & Cancellations page.
How do QA’s virtual classroom courses work?
Our virtual classroom courses allow you to access award-winning classroom training, without leaving your home or office. Our learning professionals are specially trained on how to interact with remote attendees and our remote labs ensure all participants can take part in hands-on exercises wherever they are.
We use the WebEx video conferencing platform by Cisco. Before you book, check that you meet the WebEx system requirements and run a test meeting to ensure the software is compatible with your firewall settings. If it doesn’t work, try adjusting your settings or contact your IT department about permitting the website.
How do QA’s online courses work?
QA online courses, also commonly known as distance learning courses or elearning courses, take the form of interactive software designed for individual learning, but you will also have access to full support from our subject-matter experts for the duration of your course. When you book a QA online learning course you will receive immediate access to it through our e-learning platform and you can start to learn straight away, from any compatible device. Access to the online learning platform is valid for one year from the booking date.
All courses are built around case studies and presented in an engaging format, which includes storytelling elements, video, audio and humour. Every case study is supported by sample documents and a collection of Knowledge Nuggets that provide more in-depth detail on the wider processes.
When will I receive my joining instructions?
Joining instructions for QA courses are sent two weeks prior to the course start date, or immediately if the booking is confirmed within this timeframe. For course bookings made via QA but delivered by a third-party supplier, joining instructions are sent to attendees prior to the training course, but timescales vary depending on each supplier’s terms. Read more FAQs.
When will I receive my certificate?
Certificates of Achievement are issued at the end the course, either as a hard copy or via email. Read more here.