Posts tagged with “authentication

How to avoid a 403 Forbidden error when cloning a private repository

Sometimes when I’m trying to clone a private repository to a remote host, I get a 403 Forbidden error, like so: git clone https://github.com/repos_username/repos_name.git Initialized empty Git repository in /home/public_html/.git/ error: The requested URL returned error: 403 Forbidden while accessing https://github.com/repos_username/repos_name.git/info/refs fatal: HTTP request failed No prompt for a username and password, just the door […]