Git & GitHub Basics
Summary
Have you always wanted to contribute to open source projects but lacked essential knowledge of online collaboration tools? Have you ever applied for jobs and the HR asked for your GitHub account? Have you taken part in hackathons and social coding events but got stuck because you didn't understand Git workflows?
This workshop will start from the absolute basics of Git and GitHub. Rather than looking at boring slides, participants will get to work on sample code base. They will change, commit and merge code. The trainer will guide through the process. By the end of this workshop, participants will become experts in using Git and GitHub.
Skills Imparted
Git commands. Branching and merging. Advanced Git commands. Useful command options. Git workflows. Tips and tricks. Working with local and remote repositories. Using some popular Git GUI software.
Audience
Engineering students, engineering professionals, freelancers and consultants eager to contribute to the open source movement. Software project managers. Collaboration teams.
Duration
7 hours
Preparation
Participants are required to bring their own laptops installed with Git. Read the basics before coming.
Content
- Introduction
- Installation and configuration
- A first Git project and repository
- Basic concepts and terminology
- Basic operations
- Adding, changing, deleting files
- Looking at status and diff
- Commit and log
- Untracked and staged files
- GitHub
- Bare and remote repositories
- Push to remote
- Using Github
- Collaborating via GitHub
- Clone or pull from remote repos
- Branching and merging
- Guidelines for branching
- Merging and resolving conflicts
- Using tags for releases
- Creating and applying patches
- Other commands
- Reset and revert
- Blame
- Stash
- Fetch and rebase
- Bisect