Track commits and copy files to another directory