How to access others people private repository?

can we download their private repository ?

Hi @muafakul,

Glad to see you in Github Community Forum!

You cannot download other people’s private repository unless you have access to. For example, invite the user as a collaborator to private repo, or add the user as the team member of the organization.

In Github action, need to provide token (the secrets which created by personal access token) for actions/checkout to download the private repository.

- name: Checkout private repository
  uses: actions/checkout@v2
    repository: testorg/private-repo
    token: ${{ secrets.PAT1 }}    # encrypted secrets created with PAT.

How to create personal access token doc here.
How to create encrypted secrets doc here.

Or you can use below code in your command line:

git clone

Simialr ticket here: