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.

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.
Git
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.
Git
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.
Git
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.
Git
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.
Git
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.
Git
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.
Git
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.
Git
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.
Git
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.
Git
How to revert a Git commit without losing changes

How to revert a Git commit without losing changes

Explore how to revert a Git commit without losing your valuable changes. Learn the essential techniques to preserve your work while undoing unwanted commits.
Git
How to fix 'fatal: unable to read config file' error in Git

How to fix 'fatal: unable to read config file' error in Git

Learn how to resolve the 'fatal: unable to read config file' error in Git, a widely-used version control system. Discover the root causes and effective solutions to keep your Git workflow running smoothly.
Git
How to resolve 'fatal: unable to auto-detect email address' error

How to resolve 'fatal: unable to auto-detect email address' error

Resolve the 'fatal: unable to auto-detect email address' error in Git by configuring your email settings. Learn how to set up your Git email address and fix this common issue.
Git
How to undo a git cherry-pick operation

How to undo a git cherry-pick operation

Discover how to undo a Git cherry-pick operation and recover from mistakes. Learn advanced techniques to handle complex cherry-pick scenarios and maintain a clean Git repository.
Git
Resolving "Cannot Delete Branch Checked Out" Error in Git

Resolving "Cannot Delete Branch Checked Out" Error in Git

Discover how to resolve the "cannot delete branch checked out at" error in Git, enabling you to effectively manage your Git branches and maintain a clean repository. Learn the essential steps to identify the current branch and safely delete branches in Git.
Git
How to handle 'error: untracked working tree files would be overwritten by checkout' in Git

How to handle 'error: untracked working tree files would be overwritten by checkout' in Git

Discover how to resolve the "error: untracked working tree files would be overwritten by checkout" issue in Git. Learn to identify and handle untracked files to ensure a smooth checkout process.
Git
How to check the status of Git submodules in a repository

How to check the status of Git submodules in a repository

Discover how to efficiently manage and monitor the status of Git submodules in your repository. Learn to identify changes, update, and maintain your project's dependencies with ease.
Git
How to Resolve Git Branch Ahead of Origin

How to Resolve Git Branch Ahead of Origin

Resolve the "your branch is ahead of 'origin/master' by 1 commit" issue in Git. Learn how to identify branch divergence and synchronize your local branch with the remote origin.
Git
  • Prev
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • ...
  • 51
  • Next