git credential fill
コマンドで確認できる。
git config - List git credentials from credential helper - Stack Overflow
git credential fill
を実行すると入力待ちになるので、以下の二行を入力して、さらに空行を入力する(値は適切なものに変えること)。
protocol=https host=github.com
この例では、github.com 上の Git リポジトリと通信する際に使っている認証情報が表示される。
❯ git credential fill protocol=https host=github.com protocol=https host=github.com username=kyanny password=****************