![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023040247_s5p.png)
Windows 11 に Git をインストールする方法です。
Git
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023040247_s5p.png)
Git (ぎっと) は、Linux カーネルの開発のためにオープンソースで開発されている分散バージョン管理システムです。現在は多くのソフトウェア開発に使用されています。また、開発者でなくとも、その成果物などを受取る際にも使用されます。
ダウンロード
以下よりダウンロードします:
- Git – Downloads
https://git-scm.com/downloads
[Windows]をクリックします。
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023032758_s5p.png)
[Click here to download the latest]をクリックし、ダウンロードが完了したら[ファイルを開く]をクリックします。
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023032856_s5p.png)
「ユーザー アカウント制御」が表示されたら[はい]をクリックします。
インストール
※ Git のインストールでは、様々な設定や選択が可能ですが、この例では、すべてデフォルトでのインストールを記載します。好みの設定がある場合は、適宜お読み替えください。
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023032902_s5p.png)
「Information」と表示されたら[Next]をクリックします。
※ライセンス (GNU GPL Ver.2)
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023032903_s5p.png)
「Select Destination Location」と表示されたら[Next]をクリックします。
※インストール場所
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023032944_s5p.png)
「Select Components」と表示されたら[Next]をクリックします。
※インストール コンポーネント
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023032946_s5p.png)
「Select Start menu Folder」と表示されたら[Next]をクリックします。
※スタート メニュー フォルダ
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023032948_s5p.png)
「Choosing the default editor used by Git」と表示されたら[Next]をクリックします。
※デフォルト エディタの選択 (Vim)
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023032950_s5p.png)
「Adjusting the name of the initial branch new repositories」と表示されたら[Next]をクリックします。
※リポジトリ名の調整
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023032953_s5p.png)
「Adjusting your PATH environment」と表示されたら[Next]をクリックします。
※環境 PATH の調整
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023032955_s5p.png)
「Choosing the SSH executable」と表示されたら[Next]をクリックします。
※SSH の選択
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023032958_s5p.png)
「Choosing HTTPS transport backend」と表示されたら[Next]をクリックします。
※HTTPS の選択
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023033000_s5p.png)
「Configuring the line ending conversions」と表示されたら[Next]をクリックします。
※改行文字の構成
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023033002_s5p.png)
「Configuring the terminal emulator to use with Git Bash」と表示されたら[Next]をクリックします。
※ターミナル エミュレータの構成
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023033004_s5p.png)
「Choose the default behavior if `git pull`」と表示されたら[Next]をクリックします。
※`git pull`のデフォルト動作選択
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023033007_s5p.png)
「Choose a credential helper」と表示されたら[Next]をクリックします。
※認証情報ヘルパーの選択
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023033009_s5p.png)
「Configuring extra options」と表示されたら[Next]をクリックします。
※その他のオプション構成
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023033011_s5p.png)
「Configuring experimental options」と表示されたら[Install]をクリックします。
※実験的オプションの構成
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023033025_s5p.png)
インストールが完了するまで待ちます。
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023033046_s5p.png)
「View Release Notes」のチェックを外し[Finsh]をクリックします。
動作確認
![](https://kb.seeck.jp/wp/wp-content/uploads/2023/03/win11gitInstall22032023033139_s5p.png)
コマンドを使用して動作確認を行います。コマンド プロンプトを開く方法については、次のサポート記事をご参照ください:
次のコマンドを実行して動作確認をします:
git -v
実行例:
Microsoft Windows [Version 10.0.22621.525]
(c) Microsoft Corporation. All rights reserved.
C:\Users\Owner>git -v
git version 2.40.0.windows.1
正常に動作し、バージョン情報が返されました。
参考文献等
- Git – Wikipedia
https://ja.wikipedia.org/wiki/Git
注意
- 本操作例は、Windows 11 に Git (Ver.2.40.0) をインストールするものです
スポンサードリンク