etckeeper

From wiki

Install

# apt install etckeeper

This will install and configure etckeeper.

For more information, check the official README.