Windows版Gitの使用
Gitをgit bash 専用として設定し、SSH認証を使用する場合、GitはHOME 環境変数が指すディレクトリ内でSSH鍵を検索します。この変数は常にgit bash によって設定されます。
しかし、通常、Windowsのコマンドプロンプトではこの変数は設定されていません。WindowsのコマンドプロンプトからGitを実行すると、Gitは自身のインストールディレクトリ内でSSH鍵を検索するため、認証に失敗してしまいます。
HOME 環境変数は、Qt Creator から設定できます。Preferences >Version Control >Git に移動し、Set "HOME" environment variable を選択してください。Git実行ファイルが実行されると、HOME が%HOMEDRIVE%%HOMEPATH% に設定され、git bash を使用した場合と同様に認証が機能します。

「Git の使用方法」、「 ファイルの比較」、「バージョン管理システムの設定」、「バージョン管理システム」も参照してください 。
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.