Skip to main content

This version of GitHub Enterprise Server was discontinued on 2023-09-25. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact 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.