Using an HTTPS remote URL has some advantages compared with using SSH. It's easier to set up than SSH, and usually works through strict firewalls and proxies. However, it also prompts you to enter your GitHub Enterprise Server credentials every time you pull or push a repository.
当 Git 提示您输入密码时，请输入您的个人访问令牌 (PAT)。 基于密码的身份验证对 Git 已弃用，使用 PAT 更安全。 更多信息请参阅“创建个人访问令牌”。
You can avoid being prompted for your password by configuring Git to cache your credentials for you. Once you've configured credential caching, Git automatically uses your cached personal access token when you pull or push a repository using HTTPS.