November 5, 2018

How to Work with Git and GitHub


Learn essential open source skills from the Introduction to Open Source Development, Git, and Linux training course and sign up now to start your open source journey.

Enterprises of all sizes are reporting dramatic and widening skills gaps in Linux and open source skills. Meanwhile, Linux tops the list as the most in-demand open source skill, according to the 2018 Open Source Jobs Report. In this article series, we are taking a closer look at one of the best new ways to gain open source and Linux fluency: the Introduction to Open Source Software Development, Git and Linux training course from The Linux Foundation.

This article is the final one in a four-part article series that highlights the major aspects of the training course, in chronological order. The initial article in the series covered the course’s general introduction to working with open source software, with a focus on such essentials as project collaboration, licensing, legal issues and getting help. With that groundwork laid, the course delves into working with Bash, the standard shell for most Linux distributions. The second article covered the course curriculum dedicated to working with Bash and Linux basics. The third article covered working with the command line as well as command-line tools. Here we will look at the course’s extensive content on working with Git and GitHub.

Working with Git, is, of course, essential for working with open source in today’s environment, especially if you will be collaborating with others. Git is a distributed version control system that makes collaborating on projects easy, while at the same time minimizing version-related errors and unwanted duplication of effort. Once you are working with Git you can also leverage a valuable repository called GitHub, where teams can house their projects, access and update code, and more.

The course covers Git as well as working with GitHub, and also notes that there are alternatives to GitHub that are worth knowing about, such as:

Why are Git and GitHub essentials important?

Git began as an offshoot of the Linux kernel development community, initially created by Linus Torvalds himself. However, people quickly realized that it could be used for any project that had collaborative needs. The course comprehensively covers Git essentials as they apply to collaborating on projects. In focusing on GitHub, it notes that collaborators can designate hosted projects as public or private, and that public repositories are free of charge.

The course devotes 11 chapters to installing, using, and working with Git, covering the following topics:

  • Git Installation

  • Git and Revision Control Systems

  • Using Git: An Example

  • Git Concepts and Architecture

  • Managing Files and the Index

  • Commits

  • Branches

  • Diffs

  • Merges

  • Managing Local and Remote Repositories

  • Using Patches

As is true throughout the Introduction to Open Source Software Development, Git and Linux training course, there are Labs modules that encourage students to get hands-on experience with Git and GitHub. An initial module guides students through creating a GitHub account that can go on to be used for working with open source projects over time.

In this part of the course, the focus is very much on applying Git and GitHub skills to collaborative project management and tasks. As students go through these lessons, they should keep in mind that the online course includes many summary slides, useful bullet lists, graphics, and more. It’s definitely worth setting up a desktop folder and regularly saving screenshots of especially useful topics to the folder.

Are you interested in advancing your open source skills? If so, this training course can help. Learn more about the Introduction to Open Source Development, Git, and Linux (LFD201) course and sign up now to start your open source journey.

Click Here!