Git を使用する
コマンドラインで Git を使うには、あなたのコンピュータに Git をダウンロードし、インストールし、設定する必要があります。 You can also install GitHub CLI to use GitHub from the command line. 詳しい情報については、「GitHub CLI について」を参照してください。
ローカルで Git を動かしたいけれどもコマンドラインを使いたくない場合、代わりに GitHub Desktop クライアントをダウンロードしインストールしてください。 詳しい情報については、「GitHub Desktop のインストールと設定」を参照してください。
ローカルでファイルを扱う作業をする必要がない場合、GitHub により、以下を含む、多くの Git 関連のアクションをブラウザで直接実行できます:
Git をセットアップする
Note: If you are using a Chrome OS device, additional set up is required:
- Install a terminal emulator such as Termux from the Google Play Store on your Chrome OS device.
- From the terminal emulator that you installed, install Git. For example, in Termux, enter
apt install gitand then typeywhen prompted.
次のステップ: Git から GitHub で認証する
Git から GitHub リポジトリに接続した場合、HTTPS または SSH を使って、GitHub で認証する必要があります。
Note: You can authenticate to GitHub using GitHub CLI, for either HTTP or SSH. For more information, see gh auth login.
HTTPS で接続 (推奨)
HTTPS でクローンする場合、認証情報ヘルパーを使用して Git で GitHub の認証情報をキャッシュできます。
SSH で接続
SSH でクローンする場合、GitHub からプッシュまたはプルするには、使っているそれぞれのコンピュータに SSH キーを生成する必要があります。
おめでとうございます
おめでとうございます。これで、Git と GitHub はすべてセットアップされました。 You may now choose to create a repository where you can put your projects. This is a great way to back up your code and makes it easy to share the code around the world. For more information see "Create a repository".
You can create a copy of a repository by forking it and propose the changes that you want to see without affecting the upstream repository. For more information see "Fork a repository."
Each repository on GitHub is owned by a person or an organization. You can interact with the people, repositories, and organizations by connecting and following them on GitHub. For more information see "Be social."
GitHubには素晴らしいサポートコミュニティがあり、助けを求め、世界中の人々と話すことができます。 Github Support Communityでの会話に参加してください。

