Skip to content

Git Overview Part 2

Back to Git


📺 Git Overview - Part 2

This section covers private repositories and authentication.

Git part-2


🔒 Create Private Repository

  1. Click on New.

New Repo

  1. Give the repository name and check the Private box and Add a README file box.
  2. Click on Create repository.

Private Repo

Next to the repository name, you can see it is mentioned as Private.

Private Badge

For private repositories, you need to authenticate to clone the repo.

There are two types of authentication: * Using Personal Access Token (PAT) * Using SSH public/private keys


🔑 Authentication

How to authenticate using Personal Access Token (PAT)

Let's generate the token (as shown in Part 1).

Remote vs Local Repo

Remote vs Local


🧠 Quick Quiz — Authentication

#

Why do you need a PAT (Personal Access Token) for Git?


📝 Want More Practice?

👉 Start Git Beginner Quiz (20 Questions)


📬 DevopsPilot Weekly — Learn DevOps, Cloud & Gen AI the simple way.
👉 Subscribe here