Analyzing changes to a repository's content

You can see the changes to the content of a repository by analyzing the repository's commits, commit frequency, and content additions and deletions.

This repository insights graph is available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see "About repository graphs" and "GitHub's products."

Visualizing commits in a repository

You can see all commits made to a repository in the past year (excluding merge commits) in the Commit graph.

The top graph shows commits for the entire year by week.

Repository commit year graph

The bottom graph shows the average number of commits by day of the week for the selected week.

Repository commit week graph

Accessing the commits graph

  1. On GitHub, navigate to the main page of the repository.
  2. Under your repository name, click Insights. Insights tab in the main repository navigation bar
  3. In the left sidebar, click Commits. Commits tab

Visualizing additions and deletion to content in a repository

The code frequency graph displays the content additions and deletions for each week in a repository's history.

Code frequency graph

Accessing the code frequency graph

  1. On GitHub, navigate to the main page of the repository.
  2. Under your repository name, click Insights. Insights tab in the main repository navigation bar
  3. In the left sidebar, click Code frequency. Code frequency tab

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.