remove track of file end by ~ and add some script for git