Err permission denied on my private repo


I am new to dvc and trying to connect through python dvc.api to my private repo on github where my dvc files are which point to data (csv files) at a remote location.

Now when i use dvc.api or even just on terminal a dvc list on my private repo i get a permission denied. I have tried to follow tje git credentials and store. But still not getting to work.

Could someone help to get me on track ?

Thank you

Kind regards