Git Clone working sporadically on my system

Here it is , it is the same one xircon sent

git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install

I’ve gotten different types of errors both could not connect to github at port 443 and this one

 Message: File is missing
  Data: (file-missing . "Cannot open load file")
  Backtrace:
    (require straight "/home/user/.emacs.d/.local/straight/repos/straight.el/
    (let ((repo-dir (doom-path straight-base-dir "straight/repos/straight.el")
    (doom--ensure-straight (:host github :repo "raxod502/straight.el" :branch 
    (let* ((--cl-rest-- (alist-get (quote straight) packages)) (recipe (car (c
    (let ((packages (doom-package-list nil (quote core)))) (let* ((--cl-rest--
    (progn (if doom-debug-p (progn (let ((inhibit-message (active-minibuffer-w
    (if (or force-p (null (and (boundp (quote straight-recipe-repositories)) s
    (doom-initialize-core-packages)
    (eval-buffer #<buffer  *load*-854240> nil "/home/user/.emacs.d/core/core-
    (load-with-code-conversion "/home/user/.emacs.d/core/core-cli.el" "/home/

I have a strong suspicion this has to do with my network, I just don’t know where to start.