You can manage the visibility of your commits under the Manage Commits tab in the Repository section of the project Settings.
This is especially useful if you have a branch or several branches that have a large number of older commits that are for example no longer in use.
To hide commits, you can first filter the commits by either the branch name or by date. When filtering by date, you can leave one of the boxes as is to filter the commits made after or before a certain date.
If you want to filter all the commits made after a certain date, note that the filtering doesn't take the date set in the box itself into account. In other words, if you wanted to get all the commits made on and after for example September 12, 2022, you will need to set the to date to September 11, 2022. Similarly, for commits made on and before a certain date, you will have to set the next date in the box.
Below you can see an example of the Commit dropdown menus in the Create Execution section before and after hiding some of the commits.