Version Control with Git and GitHub
Course Description Overview
Version control refers to the tracking and traceability of changes. It is, in a way, akin to the use of a bookmark in a book, added by a reader, to mark the point to return to when they resume reading. In version control, a metaphorical bookmark marks a reference to a snapshot of the code base. Git is a version control tool. Using Git, you can make, track, retrieve, and share changes on a repository. GitHub is a hosting service on which a repository resides.
This is a two-day course that will provide you a thorough understanding of what version control is, why it's necessary, and how it lends itself to application development and version management. With thorough explanations and interesting activities, you will learn all about using using Git and GitHub optimally. By the end of the course, you will have the right skills to safeguard your application and ensure its speedy development.
If you are interested in gaining a good grasp of version control in a systematic and practical way by working through real-world scenarios, then this course is for you.
This course will enable you to:
- Understand and implement version control best practises
- Navigate the GitHub UI
- Understand what the Feature Branch Workflow is and implement its features
- Use forking features, such as submodules and rebasing
- Master commands for debugging and maintaining a repository
- Implement continuous integration with CircleCi or TravisCi
- Gain insight into release management and how GitHub enables software releases
This course is meant for professional developers who want to migrate from other version control tools or want to learn more about Git. You will find this course useful and interesting. Prior experience in coding or familiarity with using the bash command-line interface will enable you to easily grasp concepts.
- Operating System: Linux, Ubuntu, or macOS X
- Browser: Google Chrome (latest version)
- Atom IDE (latest version)
- Git (latest version)
Installation and Setup
Before you start with this course, we'll install Atom IDE and Git. You will find the steps to install these here.
Installing Atom IDE
- To install Atom IDE, go to https://atom.io/ in your browser.
- Click on Download Windows Installer for Windows, to download the setup file called AtomSetup-x64.exe.
- Run the executable file.
- Add the atom and apm commands to your path.
- Create shortcuts on the desktop and start menu.
Installing Git
- To install Git via the package installer, go to https://git-scm.com/download/linux
- Run the following command: # apt-get install git on the terminal window.
- Enter your password if prompted.
For successful completion of this course, students will require computer systems with the following:
- Processor: Intel Core i3 or equivalent
- Memory: 4 GB RAM
- Storage: 35 GB available space
LESSON ONE - INTRODUCTION TO VERSION CONTROL
- Defining Version Control
- Navigating GitHub
LESSON TWO - VERSIONING COMMITS
- Introduction to Versioning Commits
LESSON THREE - FETCHING AND DELIVERING CODE
- Fetching the Code
LESSON FOUR - BRANCHES
- Utilizing Workflows
LESSON FIVE - COLLABORATIVE GIT
- Forking the Workflow
- Debugging and Maintenance
- Housekeeping
LESSON SIX - AUTOMATED TESTING AND RELEASE MANAGEMENT
- Test Automation
- Automated Pull Requests