Skip to content

Git Overview Part 2

โ† Back to Git


๐Ÿ“บ Git Overview - Part 2

This section covers private repositories and authentication.


๐Ÿ”’ 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


๐ŸŽฅ Watch on YouTube:

Git part-2

๐Ÿง  Quick Quiz โ€” Authentication

#

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


๐Ÿ“ Want More Practice?

๐Ÿ‘‰ Start Git Intermediate Quiz (20 Questions)


๐Ÿ“ฌ DevopsPilot Weekly โ€” Learn DevOps, Cloud & Gen AI the simple way.
๐Ÿ‘‰ Subscribe here