Safari works seamlessly and syncs your passwords, bookmarks, history, tabs, and more across Mac, iPad, iPhone, and Apple Watch. And when your Mac, iOS, or iPadOS devices are near each other, they can automatically pass what you’re doing in Safari from one device to another using Handoff. The machine featured a GUI, an operating system known as System 1 (the earliest version of Mac OS), and a number of software programs, including the word processor MacWrite and the graphics editor MacPaint. The New York Times said that the Macintosh was the beginning of a 'revolution in personal computing.'
You can remove all records that Safari keeps of where you’ve browsed during a period of time you choose. If your Mac and your other devices have Safari turned on in iCloud preferences, your browsing history is removed from all of them. Clearing your browsing history in Safari doesn’t clear any browsing histories kept independently by websites you visited.
In the Safari app on your Mac, choose History > Clear History, then click the pop-up menu.
Choose how far back you want your browsing history cleared.

When you clear your history, Safari removes data it saves as a result of your browsing, including:
History of webpages you visited
The back and forward list for open webpages
Frequently visited site list
Recent searches
Icons for webpages
Snapshots saved for open webpages
List of items you downloaded (downloaded files aren’t removed)
Websites added for Quick Website Search
Websites that asked to use your location
Websites that asked to send you notifications