About commits
編集されたファイルの保存と同様に、コミットは、ブランチにある1つ以上のファイルの変更を記録します。 Gitは、各コミットに次の情報を識別するSHA、またはハッシュと呼ばれる固有のIDを割り当てます。
- 具体的な変更
- 変更時間
- 変更者
コミットするときは、変更を簡潔に説明するコミットメッセージを含める必要があります。
If the repository you are committing to requires commit signoffs, and you are committing in the web interface, you will automatically sign off on the commit. See リポジトリのコミット サインオフ ポリシーの管理.
You can add a co-author on any commits you collaborate on. See Creating a commit with multiple authors or on behalf of an organization.
You can also create a commit on behalf of an organization. See Creating a commit with multiple authors or on behalf of an organization.
Rebasing lets you change a series of commits and can change the order of the commits in your timeline. See Git リベースについて.
About commit branches and tag labels
Commit pages can show labels for branches and tags that contain the commit. These labels help you understand where a commit appears in the repository history.

If your commit is not on the default branch (main), the label will show the branches which contain the commit. If the commit is part of an unmerged pull request, you can click the link to go to the pull request.
Once the commit is on the default branch, any tags that contain the commit will be shown and the default branch will be the only branch listed. See Git Basics - Tagging in the Git documentation.

Using the file tree
The file tree helps you navigate between files in a commit and focus on the diffs that matter. You can select a file to view its diff or filter by file path when a commit changes many files.
メモ
The file tree will not display if your screen width is too narrow or if the commit only includes one file.

Further reading
- GitHub Desktop でプロジェクトの変更をコミットしてレビューする on GitHub Desktop