How can one clone a private Git repository into the Apache 2 web server directory on a Raspberry Pi? [closed]

I have the problem that I cannot clone my private git repository into a directory of my Apache 2 web server on my Raspberry Pi. But it works in all other directories.

I have generated an SSH key and stored it in my Git Hub profile, this also seems to work as I can clone the repository to all other directories.
I have adjusted the read and write permissions of the Apache server, this has not helped to solve the problem.

  • 1

    I cannot clone” is not a question. Please edit and show your command and complete output. No screenshots, please — copy/paste from the terminal and format as code here.

    – 

Leave a Comment