たとえばbitbucketのプライベートリポジトリ。URLを入力すると認証エラーがでる・・・
Failed to connect to repository : Command "git ls-remote -h https://username@bitbucket.org/username/repo-name.git HEAD" returned status code 128:
stdout:
stderr: fatal: Authentication failed
URLにパスワードを含めて入力
https://username:password@bitbucket.org/username/repo-name.git
うまくいくはず。
パスワードは隠せない。SSHが通る環境だったらあえてやる必要はない。