script to clean the git file