GitHub Actions Certification

Continuous Integration with GitHub Actions

Clone Git Repo

In this tutorial, you’ll migrate the Solar System application repository from GitLab to GitHub. Once the import is complete, you can start building and automating workflows with GitHub Actions.

Step 1: Copy the GitLab Repository URL

  1. Sign in to your GitLab account and navigate to the Solar System project.
  2. Click Clone and choose either HTTPS or SSH.
  3. Copy the displayed URL to your clipboard.

Note

If you select SSH, ensure your local machine has the corresponding SSH key added to your GitLab SSH Keys.

Step 2: Import the Repository on GitHub

  1. In your GitHub account, go to Import a repository:
    https://github.com/new/import
  2. Paste the GitLab clone URL into Old repository’s clone URL.
  3. Assign a Name for the new repository (e.g., solar-system).
  4. Select Public or Private under Visibility.
  5. Click Begin import.
FieldDescription
Old repository’s clone URLThe HTTPS or SSH clone URL you copied from GitLab
NameYour new GitHub repo name (e.g., solar-system)
VisibilityPublic (open to everyone) or Private (restricted)
Begin importStarts the migration and transfers commits & files

The image shows a GitHub page for importing a project, with fields for entering the old repository's URL and new repository details, including options for public or private visibility.

Note

Large repositories may take a few minutes to finish importing all files and commit history.

Step 3: Verify the Imported Repository

Once the process completes, you’ll see:

Import complete — your new repository is ready

  1. Click View your new project or navigate directly to your GitHub organization.
  2. Confirm that every file, branch, and commit history has been transferred.

Warning

If you don’t see all branches, check the importer logs or retry the import. For troubleshooting, refer to GitHub Importer troubleshooting.


Now that your Solar System application resides on GitHub, you’re all set to configure GitHub Actions workflows and automate your CI/CD pipeline.

Watch Video

Watch video content

Previous
Understanding DevOps Pipeline