You can clone a remote repository to your local machine. If you run into errors, there are some common troubleshooting solutions.
When you create a repository on your GitHub Enterprise instance, it exists as a remote repository. You can clone your repository to create a local copy on your computer and sync between the two locations.
There are a few common errors when using HTTPS with Git. These errors usually indicate you have an old version of Git, or you don't have access to the repository.
If you see this error when cloning a repository, it means that the repository does not exist, you do not have permission to access it, or your GitHub Enterprise instance is in private mode. There are a few solutions to this error, depending on the cause.
This error occurs if the default branch of a repository has been deleted on your GitHub Enterprise instance.