Git clone: SSH vs HTTPS

SSH Method

git clone [email protected]:group/project.git

Git uses:

Auth:

HTTPS Method

git clone <https://gitlab.xpaas.lenovo.com/group/project.git>

Git uses:

  1. HTTP protocol (like a browser)
  2. Username + PAT (long random string)

Auth: