Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Core Tech
Google Cloud Platform icon
Labs

Linux+ Automation: Implement Version Control Using Git

In this lab, you’ll practice using git as a version control system. When you’re finished, you’ll have the skills needed to operate version control using git, being able to create new branches and merge them with the master before creating new version releases.

Google Cloud Platform icon
Lab platform
Lab Info
Rating
(16)
Level
Beginner
Last updated
Aug 04, 2025
Duration
1h 35m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Get Started in the Lab Environment

    Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!

  2. Challenge

    Convert Code to Git

    Using git, developers and or administrators can collaborate and share code or configurations. This is usually over the network, be it to on an SSH server or an HTTP server. For this lab, you will use a single server solution and the filesystem to share git repositories. Realizing some of your code should be shared with colleagues, you will convert the existing code-directory to a git repository.

  3. Challenge

    Clone Existing Repository

    By the end of this challenge you will be able to clone an existing repository, and will understand the limitations of the current repository status, having been converted from an existing directory.

  4. Challenge

    Create a Bare Repository Ready For Collaboration

    In this challenge, you will learn to create a new bare repository without existing content, which will allow for collaboration.

  5. Challenge

    Add Code Remotely

    Having cloned the bare repository, you will now add code to it; you never work directly in the repository itself. You will now add the script and readme file to the cloned repo before pushing the changes back.

  6. Challenge

    Work With Branches

    When developing code, it is normal to separate the development code from the production code by using branches. The default branch is master when using the git client. When developing new code within the same project, you will create a branch and push the branch back to the server. The default clone will still pull the production master branch, but other developers and testers can pull the development branch specifically

  7. Challenge

    Clone Branches and Tag Releases

    The default clone of a repository will be the master branch, and will be the current production version of the code. Developers and testers will need to clone development branches. Before new code is moved into production, version releases can be frozen using tags so they can be downloaded independently of the current production code.

  8. Challenge

    Merge Branches into the Master Branch

    Once the development branch has been fully tested, you are ready to merge it into the master or production branch. This allows development to continue as required in the development branch, and verified code on the master branch to become part of the production environment.

  9. Challenge

    The Last Challenge

    Welcome to the final challenge! This is your last chance to experiment in the environment. Clicking Finish Lab will end this little world that flittered into existence just for you.

About the author

Andrew is a committed evangelist of the Linux Operating System and the concept of community and freedom that it provides. He has worked as a technical trainer since 1995 and has taught throughout the world, including Australia, the US, Germany and Eastern Europe. Andrew started teaching Linux in 2004 when Novell acquired SUSE and has been a long time supporter of Novell and provides SYSOP support the the Certifed Novell Instructor community on Linux. Andrew founded theurbanpenguin and has been submitting video training material to his YouTube channel since 2009 and currently has over 8,500 subscribers and 1.6 Million views. Andrew has had two publications with Packt: Citrix Access Gateway VPX Essentials (2012) and Citrix XenApp (2013).

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight