Git Tutorials

Our Git tutorials offer a comprehensive curriculum for version control and collaborative development. They cover Git commands, workflows, and best practices, suitable for both beginners and experienced developers. With free labs and real-world examples, you'll gain practical experience in managing code repositories. Our Git playground allows you to experiment with different Git operations in a simulated environment.

Git Setup and Configuration

Git Setup and Configuration

In this lab, you will learn how to install Git and configure your global user identity, which is essential for tracking commits in version control.
GitLinux
CD - Deployment to Staging

CD - Deployment to Staging

In this lab, you will learn the principles of Continuous Deployment (CD). You will define a GitHub Actions workflow to deploy a Docker container via SSH, and simulate the deployment process locally.
LinuxGit
GitHub Actions Matrix Builds

GitHub Actions Matrix Builds

In this lab, you will learn how to use matrix strategies to run your workflow across multiple configurations simultaneously, such as different Node.js versions.
LinuxJavaScriptGitShell
GitHub Actions Adding Environment Variables

GitHub Actions Adding Environment Variables

In this lab, you will learn how to define and use environment variables in GitHub Actions workflows. You will create a workflow, set a global variable, and access it within a step to print a greeting message.
ShellLinuxGit
GitHub Actions Basic Build and Test

GitHub Actions Basic Build and Test

In this lab, you will learn how to create a basic GitHub Actions workflow to build and test a Node.js application, covering environment setup, dependency installation, and test execution.
LinuxJavaScriptGit
GitHub Actions First Workflow Creation

GitHub Actions First Workflow Creation

In this lab, you will learn the fundamental steps to create a GitHub Actions workflow. You will initialize a Git repository, create the necessary directory structure, define workflow triggers and jobs in a YAML file, and commit your changes to simulate a CI/CD process.
LinuxGitShell
Prepare an Ansible Project with Git

Prepare an Ansible Project with Git

Create a clean Ansible project workspace, initialize Git, add an inventory, and commit the baseline files.
AnsibleGit
Ignoring Files with Gitignore

Ignoring Files with Gitignore

In this lab, you will learn how to use .gitignore to exclude specific files from Git version control, keeping your repository clean and organized.
GitLinux
Artifact Building

Artifact Building

In this lab, you will learn how to build a Docker container image and push it to the GitHub Container Registry (GHCR) using GitHub Actions. You will automate the packaging and delivery of your application.
GitLinuxDocker
GitHub Actions Uploading Build Artifacts

GitHub Actions Uploading Build Artifacts

In this lab, you will learn how to persist workflow data using build artifacts. You will configure a workflow to upload a build directory so it can be downloaded later.
LinuxGitJavaScript
GitHub Actions Using Checkout Action

GitHub Actions Using Checkout Action

In this lab, you will learn how to use the `actions/checkout` action in GitHub Actions to access repository files and verify them using workflow logs.
LinuxGitJavaScript
GitHub Actions Setting Up Secrets

GitHub Actions Setting Up Secrets

In this lab, you will learn how to securely manage sensitive information in GitHub Actions by setting up repository secrets and referencing them in your workflows.
CybersecurityLinuxGitShell
GitHub Actions Job Dependencies

GitHub Actions Job Dependencies

In this lab, you will learn how to orchestrate complex workflows by defining dependencies between jobs, ensuring that tasks like deployment only happen after a successful build.
LinuxGitJavaScriptShell
Continuous Integration (CI)

Continuous Integration (CI)

In this lab, you will set up a real Continuous Integration (CI) pipeline using GitHub Actions. You will create a Node.js project, write an automated test, and configure a workflow that runs tests automatically on every push.
GitLinuxJavaScriptShell
Initializing a Local Repository

Initializing a Local Repository

In this lab, you will learn how to start tracking a project with Git. You will initialize a new repository, create a file, check its status, stage it, and make your first commit.
GitLinux
Branching Basics

Branching Basics

In this lab, you will learn how to manage Git branches to safely develop new features in parallel without affecting the main codebase.
GitLinux
GitHub Actions Running Simple Commands

GitHub Actions Running Simple Commands

In this lab, you will learn how to define a GitHub Actions workflow, specify the runner environment using runs-on, and execute simple shell commands using the run keyword.
LinuxGitShell
GitHub Actions Introduction and Setup

GitHub Actions Introduction and Setup

In this lab, you will learn the fundamental steps to set up GitHub Actions. You will create a repository on GitHub, clone it to a local environment, and establish the necessary directory structure for workflows.
GitLinux
  • Prev
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • ...
  • 58
  • Next