script to save to Git repository