Skip to main content

This version of GitHub Enterprise Server will be discontinued on 2026-08-25. Discontinued releases are not supported. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features in GitHub Enterprise Server, see Overview of the upgrade process. For help with the upgrade, GitHub Enterprise Support.

Viewing and comparing commits

Comparing commits

You can compare the state of your repository across branches, tags, commits, forks, and dates.

Differences between commit views

You might observe differences in commit history depending on the chosen viewing method.